chore: improve docs
This commit is contained in:
parent
18e673f773
commit
38c927024b
@ -2,6 +2,13 @@
|
|||||||
|
|
||||||
[![npm](https://img.shields.io/npm/v/@antfu/eslint-config)](https://npmjs.com/package/@antfu/eslint-config)
|
[![npm](https://img.shields.io/npm/v/@antfu/eslint-config)](https://npmjs.com/package/@antfu/eslint-config)
|
||||||
|
|
||||||
|
- Single quotes, no semi
|
||||||
|
- Auto fix for formatting (aimed to be used standalone without Prettier)
|
||||||
|
- TypeScript, Vue, React out-of-box
|
||||||
|
- Lint also for json, yaml, markdown
|
||||||
|
- Sorted imports, dangling commas for cleaner commit diff
|
||||||
|
- Reasonable defaults, best practices, only one-line of config
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
@ -18,6 +25,8 @@ pnpm add -D eslint @antfu/eslint-config
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> You don't need `.eslintignore` normally as it has been provided by the preset.
|
||||||
|
|
||||||
### Add script for package.json
|
### Add script for package.json
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
Loading…
Reference in New Issue
Block a user