eslint-config-udemy-basics
v9.0.11
Published
Udemy's Base ESLint configuration
Downloads
1,411
Keywords
Readme
Udemy Basic ESLint Config
This configuration provides a basis for any ES2015 JavaScript code developed at Udemy.
It is mainly used by udemy/website-django/e2e
.
Installation
Install ESLint locally.
$ yarn add eslint --dev
Install the Udemy Basic ESLint Config locally.
$ yarn add eslint-config-udemy-basics --dev
Configuration
Add an extends
section to your .eslintrc.js
and specify udemy-basics
as an extended configuration.
You can additionally adjust rules by overriding them in your rules
section. E.g.:
// At .eslintrc.js
module.exports = {
'extends': ['udemy-basics'],
rules: {
'promise/catch-or-return': 'off',
},
};
Contributing
See Contributing.