docs: add code style badge (#220)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
parent
500fe9df8d
commit
bf390b0693
12
README.md
12
README.md
@ -1,6 +1,6 @@
|
||||
# @antfu/eslint-config
|
||||
|
||||
[![npm](https://img.shields.io/npm/v/@antfu/eslint-config?color=a1b858&label=)](https://npmjs.com/package/@antfu/eslint-config)
|
||||
[![npm](https://img.shields.io/npm/v/@antfu/eslint-config?color=444&label=)](https://npmjs.com/package/@antfu/eslint-config) [![code style](https://antfu.me/badge-code-style.svg)](https://github.com/antfu/eslint-config)
|
||||
|
||||
- Single quotes, no semi
|
||||
- Auto fix for formatting (aimed to be used standalone **without** Prettier)
|
||||
@ -109,6 +109,16 @@ and then
|
||||
npm i -D lint-staged simple-git-hooks
|
||||
```
|
||||
|
||||
## Badge
|
||||
|
||||
If you enjoy this code style, and would like to mention it in your project, here is the badge you can use:
|
||||
|
||||
```md
|
||||
[![code style](https://antfu.me/badge-code-style.svg)](https://github.com/antfu/eslint-config)
|
||||
```
|
||||
|
||||
[![code style](https://antfu.me/badge-code-style.svg)](https://github.com/antfu/eslint-config)
|
||||
|
||||
## FAQ
|
||||
|
||||
### Prettier?
|
||||
|
Loading…
Reference in New Issue
Block a user