Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liou666/eslint-config-preset
🔨 Liou's Eslint Config Preset
https://github.com/liou666/eslint-config-preset
eslint
Last synced: 3 days ago
JSON representation
🔨 Liou's Eslint Config Preset
- Host: GitHub
- URL: https://github.com/liou666/eslint-config-preset
- Owner: liou666
- Created: 2022-10-14T09:55:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T03:21:38.000Z (17 days ago)
- Last Synced: 2024-10-30T06:20:38.005Z (17 days ago)
- Topics: eslint
- Language: JavaScript
- Homepage:
- Size: 297 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ⚙️ Custom Eslint-Config Preset
>Default rules detect md, yml, yaml, js, ts, json files.
## Usage
### Flat Config
``` bash
pnpm add -D eslint @liou666/eslint-config-flat
`````` js
// eslint.config.js
import createConfig from '@liou666/eslint-config-flat'
export default createConfig()
```#### Legacy Config
``` bash
pnpm add -D eslint @liou666/eslint-config
`````` js
// .eslintrc
{
"extends": "@liou666"
}
```