Skip to content

Commit c9ed946

Browse files
committed
Add basic documentation of what is included in the config
1 parent ef69077 commit c9ed946

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,24 @@ module.exports = {
2525

2626
- Use ESLint’s [`--report-unused-disable-directives`](https://eslint.org/docs/user-guide/command-line-interface#--report-unused-disable-directives) flag to ensure you do not use more `eslint-disable` comments than needed.
2727
- This config is [Prettier](https://prettier.io/)-compatible, but it is still usable by projects which do not wish to use Prettier.
28+
29+
## What’s included
30+
31+
> See [`config.js`](./config.js) for full config defintion.
32+
33+
### Extends
34+
35+
- [`eslint:recommended`](https://eslint.org/docs/rules/)
36+
- [`prettier`](https://github.com/prettier/eslint-config-prettier)
37+
- [`prettier/react`](https://github.com/prettier/eslint-config-prettier)
38+
39+
### Custom rules
40+
41+
- [indent](https://eslint.org/docs/rules/indent): `error, 4`
42+
- [linebreak-style](https://eslint.org/docs/rules/linebreak-style): `error, unix`
43+
- [quotes](https://eslint.org/docs/rules/quotes): `error, single`
44+
- [jsx-quotes](https://eslint.org/docs/rules/jsx-quotes): `error, prefer-double`
45+
- [semi](https://eslint.org/docs/rules/semi): `error, always`
46+
- [react/jsx-uses-react](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-uses-react.md): `2`
47+
- [react/jsx-uses-vars](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-uses-vars.md): `2`
48+
- [react/react-in-jsx-scope](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/react-in-jsx-scope.md): `2`

0 commit comments

Comments
 (0)