eslint-config-nimedev-react
An ESLint Shareable Config for React applications.
Installation
It requires babel-eslint
, eslint
, eslint-plugin-import
, eslint-plugin-react
, and eslint-plugin-jsx-a11y
.
$ npm install eslint-config-nimedev-react babel-eslint eslint eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y
Usage
Set your eslint config to:
Extending the config
Simply add a "rules"
key to your config and add your overrides there.
For example, to change the indentation
to tabs and turn off the no-console
rule: