eslint-config-loris
v9.1.0
Published
ESLint config for Loris code style
Downloads
655
Readme
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
module.exports = {
extends: 'loris/es5',
root: true
};
- For ECMAScript 6 (aka ECMAScript 2015)
module.exports = {
extends: 'loris/es6',
root: true
};
Other available configurations:
loris/es2017
Note that configuration doesn't specify environment. You can easily add it like this:
module.exports = {
extends: 'loris/es6',
root: true,
env: {
browser: true
}
};