-
Notifications
You must be signed in to change notification settings - Fork 4
/
eslintrc
85 lines (85 loc) · 2.5 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"browser": true,
"node": true
},
"rules": {
"no-console": "error",
"no-unused-vars": ["error", { "vars": "all", "args": "none" }],
"valid-typeof": "error",
"use-isnan": "error",
"no-unsafe-finally": "error",
"no-unreachable": "error",
"no-unexpected-multiline": "error",
"no-sparse-arrays": "error",
"no-regex-spaces": "error",
"no-obj-calls": "error",
"no-negated-in-lhs": "error",
"no-irregular-whitespace": "error",
"no-invalid-regexp": "error",
"no-inner-declarations": "error",
"no-func-assign": "error",
"no-extra-semi": "error",
"no-extra-boolean-cast": "error",
"no-ex-assign": "error",
"no-empty": "error",
"no-empty-character-class": "error",
"no-duplicate-case": "error",
"no-dupe-keys": "error",
"no-dupe-args": "error",
"no-debugger": "error",
"no-control-regex": "error",
"no-constant-condition": "error",
"no-cond-assign": "error",
"require-yield": "error",
"no-this-before-super": "error",
"no-new-symbol": "error",
"no-dupe-class-members": "error",
"no-const-assign": "error",
"no-class-assign": "error",
"constructor-super": "error",
"no-undef": "error",
"no-delete-var": "error",
"no-unused-labels": "error",
"no-self-assign": "error",
"no-redeclare": "error",
"no-octal": "error",
"no-native-reassign": "error",
"no-empty-pattern": "error",
"no-case-declarations": "error",
"array-callback-return": "error",
"no-param-reassign": "error",
"curly": "error",
"default-case": "error",
"no-fallthrough": "error",
"no-caller": "error",
"no-eq-null": "error",
"no-invalid-this": "error",
"no-loop-func": "error",
"no-multi-spaces": [
"error",
{ "exceptions": { "Property": true, "VariableDeclarator": true } }
],
"no-self-compare": "error",
"no-use-before-define": "error",
"comma-dangle": ["error", "always-multiline"],
"brace-style": "error",
"camelcase": "error",
"consistent-this": ["error", "self"],
"func-names": "error",
"jsx-quotes": ["error", "prefer-double"],
"indent": ["error", 2, { "SwitchCase": 1 }],
"no-mixed-spaces-and-tabs": "error",
"no-tabs": "error",
"no-trailing-spaces": "error",
"semi": "error",
"no-duplicate-imports": "error",
"no-useless-computed-key": "error",
"no-useless-constructor": "error",
"no-var": "error"
}
}