-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
65 lines (65 loc) · 1.43 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
57
58
59
60
61
62
63
64
65
{
"rules": {
"no-with": [2],
"no-eval": [2],
"no-octal-escape": [2],
"no-shadow-restricted-names": [2],
"valid-typeof": [2],
"no-caller": [2],
"no-extend-native": [2],
"no-console": [1],
"no-debugger": [1],
"indent": [1, 2, {
"SwitchCase": 1
}],
"quotes": [1, "single"],
"linebreak-style": [1, "unix"],
"semi": [1, "always"],
"semi-spacing": [1],
"one-var": [1, {
"initialized": "never"
}],
"no-multi-spaces": [1],
"no-empty": [1],
"space-infix-ops": [1],
"comma-spacing": [1],
"spaced-comment": [1, "always", {
"exceptions": ["*"]
}],
"no-unneeded-ternary": [1],
"no-useless-call": [1],
"block-scoped-var": [1],
"comma-dangle": [1, "never"],
"comma-style": [1, "last"],
"space-in-parens": [1],
"keyword-spacing": [1],
"arrow-spacing": [1],
"space-unary-ops": [1],
"new-parens": [1],
"key-spacing": [1],
"eqeqeq": [1],
"eol-last": [1],
"dot-location": [1, "property"],
"func-style": [1, "expression"],
"no-lone-blocks": [1],
"no-native-reassign": [1],
"no-nested-ternary": [1],
"no-fallthrough": [1],
"no-undef": [0],
"no-unused-vars": [0]
},
"env": {
"es6": true,
"browser": true
},
"globals": {
"$": true
},
"parserOptions": {
"ecmaFeatures": {
"modules": true
},
"sourceType": "module"
},
"extends": "eslint:recommended"
}