Official OVH rules for ESLint.
🚧 This configuration is under active discussions, so some of our projects do not yet use this configuration
Just install ESLint with the OVH config:
npm install --save-dev eslint eslint-config-ovh
Creates an .eslintrc.json in your project, and specify the config that you want to use:
{
"extends": "ovh"
}ovh: shortcut forovh/configs/es6(see below)
These configurations depends of babel-eslint.
ovh/configs/es6: ES6ovh/configs/es6-browser: ES6 + browserovh/configs/es6-browser-test: ES6 + test (browser)ovh/configs/es6-node: ES6 + node >= 6.x.xovh/configs/es6-node-test: ES6 + test (node)
ovh/configs/es5: ES5ovh/configs/es5-browser: ES5 + browserovh/configs/es5-browser-test: ES5 + test (browser)ovh/configs/es5-node: ES5 + node < 6.x.xovh/configs/es5-node-test: ES5 + test (node)
See LICENSE file.

