eslint-config-brainly-react

2.7.0 • Public • Published

eslint-config-brainly-react

npm

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:

{
  "extends": "brainly-react"
}

More tools config

Looking for more of our tools configs? Check out this readme.

License

MIT

Package Sidebar

Install

npm i eslint-config-brainly-react

Weekly Downloads

1,903

Version

2.7.0

License

MIT

Unpacked Size

11.8 kB

Total Files

8

Last publish

Collaborators

  • thomsa
  • krzotki
  • przytrzask
  • dawidel
  • tlukasik
  • andrzej_sala
  • jakpaw
  • katarzynatobis
  • bartoszlorek
  • brainly-user
  • sebastian.czoch
  • the_clx
  • dominika_p
  • matzimowski
  • elzbieta
  • malinicz
  • wro
  • fasosnql
  • patrycja.batko
  • tsdzw