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:
moduleexports = 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