Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/switchdreams/lint-config
This package provides Switch Dreams' eslint and prettier config as an extensible shared config.
https://github.com/switchdreams/lint-config
Last synced: about 1 month ago
JSON representation
This package provides Switch Dreams' eslint and prettier config as an extensible shared config.
- Host: GitHub
- URL: https://github.com/switchdreams/lint-config
- Owner: SwitchDreams
- Created: 2024-09-26T17:23:36.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T20:59:52.000Z (about 2 months ago)
- Last Synced: 2024-11-11T21:36:41.423Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://switchdreams.com.br
- Size: 58.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @switchdreams/lint-config
This package provides Switch Dreams' eslint and prettier config as an extensible shared config.
## Installation
```bash
yarn add -D @switchdreams/lint-config eslint
```## Usage
Usage for eslint > 9.0.0
```js
// eslint.config.mjs
import eslintConfigSwitchDreams from "@switchdreams/lint-config";export default [
...eslintConfigSwitchDreams,
{
// Add your overrides here
},
]```
```js
// .prettierrc.mjs
import switchDreamsConfig from "@switchdreams/lint-config/prettier";const config = {
...switchDreamsConfig,
// ...your overrides
};export default config;
```
## Requirements
- Using tailwindcss