-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
39 lines (39 loc) · 1.11 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
module.exports = {
"extends": ["airbnb-base"],
"env": {
"es6": true,
"node": true,
"mocha": true
},
"plugins": [
"chai-friendly"
],
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018
},
"rules": {
"no-param-reassign": "off",
"prefer-template": "error",
"no-trailing-spaces": "error",
"no-console": "error",
"no-use-before-define": "warn",
"object-curly-spacing": "error",
"no-var": "error",
"import/newline-after-import": "error",
"max-len": ["error", 200],
"brace-style": ["error", "stroustrup"],
"indent": ["warn", 4, { "SwitchCase": 1 }],
"comma-dangle": "off",
"no-underscore-dangle": "off",
"linebreake-style": "off",
"object-curly-newline": "off",
"newline-per-chained-call": "off",
"arrow-body-style": "off",
"class-methods-use-this": "off",
"no-unused-expressions": 0,
"prefer-destructuring": "off",
"no-plusplus": "off",
"consistent-return": "off"
}
};