-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
56 lines (56 loc) · 1.33 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
56
{
"env": {
"browser": true,
"jquery": true,
"node": true,
"es6": true
},
"parser": "babel-eslint",
"globals": {
"bowser": true
},
"rules": {
"comma-dangle": 0,
"no-cond-assign": [1, "except-parens"],
"no-console": 1,
"no-constant-condition": 1,
"no-control-regex": 1,
"no-debugger": 1,
"no-dupe-args": 1,
"no-dupe-keys": 1,
"no-duplicate-case": 1,
"no-empty-character-class": 1,
"no-empty": 1,
"no-ex-assign": 1,
"no-extra-boolean-cast": 1,
"no-extra-parens": [1, "all"],
"no-extra-semi": 1,
"no-func-assign": 1,
"no-inner-declarations": [1, "both"],
"no-invalid-regexp": 1,
"no-irregular-whitespace": 1,
"no-negated-in-lhs": 1,
"no-obj-calls": 1,
"no-regex-spaces": 1,
"no-sparse-arrays": 1,
"no-unreachable": 1,
"use-isnan": 1,
"valid-typeof": 1,
"no-fallthrough": 1,
"no-octal": 1,
"no-redeclare": 1,
"no-delete-var": 1,
"no-undef": 1,
"no-undefined": 1,
"no-unused-vars": 1,
"array-bracket-spacing": [
0,
"always",
{ "singleValue": true, "objectsInArrays": true, "arraysInArrays": true }
],
"camelcase": [1, { "properties": "always" }],
"comma-spacing": [1, { "after": true }],
"indent": ["error", 2],
"quotes": [1, "double", "avoid-escape"]
}
}