Set of eslint rules by Sedona.
This project gathers all the different eslint rules we may use in our different javascript projects (node.js, angularjs, etc...).
Install eslint and eslint-config-sedona as a development dependency on your javascript project :
npm i --save-dev eslint eslint-config-sedona
Create an .eslintrc file at the root of your project.
Use extends
with "sedona/set" in .eslintrc to specify that one of our rules sets apply to it.
For example, in an angularjs project, your .eslintrc could be the following one :
{
"parser": "babel-eslint",
"extends": "sedona/angular-es6"
}
To learn more about eslint shareable configs, see the eslint documentation.
Eslint-config-sedona is created and maintained by Sedona.
It is available under the MIT Licence, more details in the LICENCE file.
We would like to thank the authors of the excellent eslint tool, and all the people who contribute to its rules and their documentations.