eslint-config-ml
A complete ESLint configuration.
Installation
First install the package using npm:
npm install eslint-config-ml
Then create an .eslintrc.json
file:
{
"extends": [
"ml"
]
}
When not using ES6, extend only the core rules:
{
"extends": [
"ml/rules/core"
]
}
Overriding rules
If you prefer to use semicolons, then add the semi
rule like this:
{
"extends": [
"ml"
],
"rules": {
"semi": [2, "always"]
}
}
Similarly, other rules can be overridden. Check the list of available ESLint rules.