eslint-config-brainly-react
Brainly's shareable ESLint config for front-end projects using React. It extends our base config.
If you're setting up a non-react ES6 project use eslint-config-brainly.
For legacy ES5 code use eslint-config-brainly-legacy.
Installation and usage
Install the eslint-config-brainly-react
package with yarn
/npm
and make
sure that the peer dependencies are installed. In most cases (unless you
need to have full control over the eslint / eslit plugins versions) you can just
rely on this command:
npx install-peerdeps --dev eslint-config-brainly-react
and extend the "brainly-react"
setup in your .eslintrc
:
More tools config
Looking for more of our tools configs? Check out this readme.
License
MIT