eslint-config-nikita-react
v5.0.0
Published
ESLint config following the nikita JavaScript coding guidelines
Downloads
21
Readme
eslint-config-nikita-react
This package provides nikitas .eslintrc as an extensible shared config.
Our default export contains all of our ESLint rules, including React.
It requires eslint
, eslint-plugin-import
, eslint-plugin-promise
, eslint-plugin-react
, eslint-plugin-react-hooks
and eslint-plugin-jsx-a11y
.
Usage
- Just install the correct versions of each package, which are listed by the command:
npm info "eslint-config-nikita-react@latest" peerDependencies
If using npm 5+, use this shortcut:
npx install-peerdeps --dev eslint-config-nikita-react
- Add
"extends": "nikita"
to your .eslintrc or referenceindex.js
as config in your Grunt eslint task.
Version
The version of this package equals the nikita-js version.
more
You can make sure this module lints with itself using npm run lint
.
See Nikita JavaScript Styleguide React for more information.