eslint-config-udemy-website
v12.3.3
Published
Udemy Website's ESLint configuration
Downloads
172
Keywords
Readme
Udemy ESLint Config for our Website
This is the main configuration used by our
udemy/website-django/static/
codebase.
It extends from most of the other packages that are in this repository.
Installation
Install ESLint locally.
$ yarn add eslint --dev
Install the Udemy ESLint Plugin locally.
$ yarn add eslint-config-udemy-website --dev
Configuration
Add an extends
section to your .eslintrc.js
and specify udemy-website
as an extended configuration.
You can additionally adjust rules by overriding them in your rules
section.
// At .eslintrc.js
module.exports = {
'extends': ['udemy-website'],
rules: {
'udemy/no-function-prototype': 'off',
},
};
Contributing
See Contributing.