-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
55 lines (55 loc) · 1.57 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
44
45
46
47
48
49
50
51
52
53
54
55
{
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": true,
"jsx": false
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"jQuery": true
},
"parser": "babel-eslint",
"rules": {
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"consistent-this": [0, "self"],
"curly": [2, "multi-line"],
"func-style": [2, "declaration"],
"no-loop-func": 0,
"no-multi-spaces": [2, { "exceptions": { "Property": false } }],
"no-new": 0,
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"quotes": [2, "single"],
"space-after-keywords": [1, "always"],
"space-before-blocks": [1, "always"],
"space-before-function-paren": [1, { "anonymous": "always", "named": "never" }],
"space-in-parens": [1, "never"],
"space-infix-ops": [1, { "int32Hint": false }],
"space-return-throw-case": 1,
"space-unary-ops": [1, { "words": true, "nonwords": false }],
"spaced-line-comment": [1, "always", { "exceptions": ["-"] }],
"strict": 0,
}
}