Eslint rules for Matchminds projects
This repository is deprecated and will be archived.
-
Install this module as a devDependency:
npm install --save-dev eslint-config-mm
-
Add a
.eslintrc
file to your project root similar to this:{ "root": true, "extends": ["eslint-config-mm"] }
-
Optionally add one-off rule deviations to your local
.eslintrc
file.
Linting rules are available in ES5 and ES6 flavours. ES6 is the default.
Using a different flavour can be done by extending from a specific file in this module. For example:
{
"root": true,
"extends": ["eslint-config-mm/es5"]
}