@sanv/eslint-config-react
v2.0.3
Published
Eslint React Configuration
Downloads
20
Maintainers
Readme
Eslint React Configuration
- Install the correct version of package, which are listed by the command:
npm install "@sanv/eslint-config-react" --save-dev
- Add next line to your
.eslintrc.js
:
module.exports = {
plugins: ['prettier', 'react', 'jsx-a11y'],
extends: [
'@sanv/eslint-config-react',
'plugin:prettier/recommended',
'prettier/react',
],
}