forked from gabrielnvg/react-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
86 lines (83 loc) · 2.41 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
86
{
"env": {
"es6": true,
"browser": true,
"node": true
},
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-alert": "warn",
"no-array-constructor": "warn",
"no-caller": "warn",
"no-bitwise": "warn",
"no-catch-shadow": "warn",
"no-console": "warn",
"no-control-regex": "warn",
"no-debugger": "warn",
"no-div-regex": "warn",
"no-dupe-keys": "warn",
"no-else-return": "warn",
"no-empty": "warn",
"no-empty-character-class": "warn",
"no-eq-null": "warn",
"no-eval": "warn",
"no-ex-assign": "warn",
"no-extra-semi": "warn",
"no-func-assign": "warn",
"no-floating-decimal": "warn",
"no-implied-eval": "warn",
"no-with": "warn",
"no-fallthrough": "warn",
"no-unreachable": "warn",
"no-undef": "warn",
"no-undef-init": "warn",
"no-unused-expressions": "warn",
"no-octal": "warn",
"no-octal-escape": "warn",
"no-obj-calls": "warn",
"no-multi-str": "warn",
"no-new-wrappers": "warn",
"no-new": "warn",
"no-new-func": "warn",
"no-native-reassign": "warn",
"no-delete-var": "warn",
"no-return-assign": "warn",
"no-new-object": "warn",
"no-label-var": "warn",
"no-ternary": "off",
"no-self-compare": "warn",
"no-sync": "warn",
"no-loop-func": "warn",
"no-labels": "warn",
"no-unused-vars": "warn",
"no-script-url": "warn",
"no-proto": "warn",
"no-iterator": "warn",
"no-mixed-requires": ["off", false],
"no-extra-parens": "warn",
"no-shadow": "warn",
"no-use-before-define": "warn",
"no-redeclare": "warn",
"no-regex-spaces": "warn",
"block-scoped-var": "off",
"complexity": ["off", 4],
"curly": "warn",
"dot-notation": "warn",
"eqeqeq": "warn",
"guard-for-in": "off",
"max-depth": ["off", 4],
"max-len": ["off", 80, 4],
"max-params": ["off", 3],
"max-statements": ["off", 10],
"new-cap": "warn",
"new-parens": "warn",
"quote-props": "off",
"radix": "off",
"semi": "warn",
"use-isnan": "warn",
"valid-typeof": "off",
"wrap-regex": "off"
}
}