-
Notifications
You must be signed in to change notification settings - Fork 12
/
.eslintrc
27 lines (27 loc) · 922 Bytes
/
.eslintrc
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
{
"rules": {
"no-undef": [0],
// Code style & decoration
// "indent": [2, 2, {"SwitchCase": 1}],
// "quotes": [2, "single"],
// "quote-props": [2, "consistent"],
"semi": [2, "always"],
"no-extra-semi": [0],
// "linebreak-style": [2, "unix"],
"brace-style": [2, "stroustrup", { "allowSingleLine": true }],
// "no-irregular-whitespace": [2],
// "no-multi-spaces": [2],
// "no-trailing-spaces": [2],
// "no-multiple-empty-lines": [2, {"max": 1}],
// "max-len": [1, 80, 4, {"ignoreComments": true, "ignoreUrls": true}],
// code conventions
"no-cond-assign": [1],
"no-unused-vars": [1],
"no-param-reassign": [1, {"props": false}],
"no-redeclare": [1],
"no-undefined": [2],
"no-with": [2],
"radix": [2]
},
"extends": "eslint:recommended"
}