-
Notifications
You must be signed in to change notification settings - Fork 17
/
.eslintrc
43 lines (42 loc) · 1.31 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"env": { "node": true },
"globals": { "Promise": true },
"parserOptions": {
"ecmaVersion": 6
},
"ecmaFeatures": {
"forOf": true,
"arrowFunctions": false,
"binaryLiterals": false,
"blockBindings": false,
"classes": false,
"defaultParams": false,
"destructuring": false,
"generators": false,
"modules": false,
"objectLiteralComputedProperties": false,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": false,
"objectLiteralShorthandProperties": false,
"octalLiterals": false,
"regexUFlag": false,
"regexYFlag": false,
"restParams": false,
"spread": false,
"superInFunctions": false,
"templateStrings": false,
"unicodeCodePointEscapes": false
},
"extends": "eslint:recommended",
"rules": {
"indent": [2, 2],
"linebreak-style": [2, "unix"],
"quotes": [2, "double"],
"semi": [2, "always"],
"eqeqeq": [2, "always", { "null": "ignore" }],
"brace-style": [2, "stroustrup"],
"func-style": [2, "declaration"],
"no-console": [0],
"no-trailing-spaces": [2]
}
}