eslint-config-udemy-react-addons
v10.0.10
Published
Udemy's React related ESLint configuration
Downloads
134
Keywords
Readme
Udemy ESLint Config for React
This configuration groups React specific ESLint rules.
It is recommended to be used by any React codebase developed at Udemy.
It is mainly used by eslint-config-udemy-website
.
Installation
Install ESLint locally.
$ yarn add eslint --dev
Install the Udemy ESLint Config for React locally.
$ yarn add eslint-config-udemy-react-addons --dev
Configuration
Add an extends
section to your .eslintrc.js
and specify udemy-react-addons
as an extended configuration.
You can additionally adjust rules by overriding them in your rules
section.
// At .eslintrc.js
module.exports = {
'extends': ['udemy-react-addons'],
rules: {
'react/jsx-no-bind': 'off',
},
};
Contributing
See Contributing.