-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
107 lines (107 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"plugins": ["prettier", "ava"],
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/react",
"plugin:ava/recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"array-callback-return": 2,
"camelcase": 1,
"consistent-this": 2,
"default-case": 2,
"dot-notation": 1,
"eqeqeq": 2,
"for-direction": 2,
"getter-return": 2,
"guard-for-in": 2,
"linebreak-style": 2,
"no-alert": 2,
"no-buffer-constructor": 2,
"no-console": 1,
"no-control-regex": 0,
"no-debugger": 1,
"no-else-return": 2,
"no-empty-function": 1,
"no-empty": 1,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-floating-decimal": 2,
"no-implicit-globals": 2,
"no-implied-eval": 2,
"no-lone-blocks": 1,
"no-lonely-if": 2,
"no-loop-func": 2,
"no-negated-condition": 2,
"no-new-func": 2,
"no-new-wrappers": 2,
"no-octal-escape": 2,
"no-self-compare": 2,
"no-tabs": 2,
"no-template-curly-in-string": 2,
"no-throw-literal": 2,
"no-undefined": 2,
"no-unneeded-ternary": 1,
"no-unsafe-negation": 2,
"no-unused-vars": [
1,
{
"args": "none"
}
],
"no-useless-concat": 2,
"no-useless-constructor": 1,
"no-useless-rename": 2,
"no-var": 2,
"object-shorthand": 1,
"prefer-const": 2,
"prefer-destructuring": [
1,
{
"VariableDeclarator": {
"array": false,
"object": true
},
"AssignmentExpression": {
"array": false,
"object": false
}
}
],
"prefer-promise-reject-errors": 2,
"prefer-spread": 2,
"prefer-template": 1,
"spaced-comment": 1,
"strict": 1,
"import/first": 1,
"import/newline-after-import": 1,
"import/no-absolute-path": 2,
"import/no-anonymous-default-export": [
1,
{
"allowObject": true
}
],
"import/no-deprecated": 1,
"import/no-extraneous-dependencies": 1,
"import/no-mutable-exports": 2,
"import/no-self-import": 2,
"import/no-unassigned-import": 1,
"import/no-useless-path-segments": 1,
"import/no-webpack-loader-syntax": 2,
"import/order": 1,
"import/prefer-default-export": 1,
"prettier/prettier": 1
},
"env": {
"browser": true,
"node": true
}
}