A set of configurable ESLint configurations used in Meetic projects.
Install this config package and ESLint:
$ npm install --save-dev eslint-config-meetic
This set of configs is meant to be extended on a per-project basis as necessary using ESLint's shareable configs feature. For more details about how shareable configs work, see the ESLint documentation.
This package includes the following full configurations:
meetic
- The default ES6 configmeetic/configurations/es5
- The default ES5 configmeetic/configurations/es6
- The default ES6 config
The default configuration assumes ECMAScript-6. To extend a config in ESLint just add the extends attribute to your .eslintrc
:
{
"extends": "meetic"
}
If your project is written in ECMAScript-5, you can extend with the ES5 subset of configuration:
{
"extends": "meetic/configurations/es5"
}
This ruleset enforces neither env
nor globals
settings. They are meant to be set individually on every project.