eslint-config-loris
ESLint config for Loris code style.
Installation
npm install --save-dev eslint eslint-config-loris
Usage
Include config in your .eslintrc.js file:
- For ECMAScript 5
moduleexports = extends: 'loris/es5' root: true;
- For ECMAScript 6 (aka ECMAScript 2015)
moduleexports = extends: 'loris/es6' root: true;
Other available configurations:
loris/es2017
Note that configuration doesn't specify environment. You can easily add it like this:
moduleexports = extends: 'loris/es6' root: true env: browser: true ;