@sanv/eslint-config-react
2.0.3 • Public • Published
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',
],
}
/@sanv/eslint-config-react/
//
Package Sidebar
Install
npm i @sanv/eslint-config-react
Weekly Downloads