eslint-config-csvn
v1.5.0
Published
Opiniated configuration of all default Eslint rules.
Downloads
11
Readme
eslint-config-csvn
Opiniated configuration of all default Eslint rules.
Use at your own risk.
Usage
npm install --save-dev eslint-config-csvn
Then create an .eslintrc.js
file in the root of your project:
module.exports = {
root: true,
extends: ['csvn', 'csvn/browser']
};
If node is used, csvn/browser
can be replaced with csvn/node
.
Notable settings
- max-len: 100
- indent: 2 spaces
- semi: always
- line-endings: LF