-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
45 lines (44 loc) · 1.1 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
{
"root": true,
"extends": "eslint:recommended",
"rules": {
"indent": [2, 2, { "SwitchCase": 1 }],
"keyword-spacing": [2, { "before": true, "after": true }],
"object-shorthand": [2, "consistent"],
"no-unused-vars": [1, {"vars": "local", "args": "none"}],
"quote-props": [1, "consistent-as-needed"],
"eqeqeq": [2, "smart"],
"brace-style": 2,
"curly": 2,
"quotes": [2, "single", { "avoidEscape": true }],
"no-trailing-spaces": 2,
"space-before-function-paren": [2, {
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}],
"no-console": 0,
"space-before-blocks": [2, "always"],
"requirejs/no-invalid-define": 2,
"requirejs/no-multiple-define": 2,
"requirejs/no-named-define": 2,
"requirejs/no-commonjs-wrapper": 2,
"requirejs/no-object-define": 1
},
"env": {
"browser": true,
"jquery": true,
"node": true,
"amd": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"plugins": [
"requirejs"
]
}