@ololoepepe/eslint-config 0.0.21 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +61 -0
- package/README.md +127 -1
- package/package.json +30 -10
- package/src/index.js +58 -297
- package/src/node.js +23 -0
- package/src/plugins/eslint-comments.js +12 -0
- package/src/plugins/import-x.js +107 -0
- package/src/plugins/n.js +43 -0
- package/src/plugins/promise.js +23 -0
- package/src/plugins/react-hooks.js +30 -0
- package/src/plugins/react.js +89 -0
- package/src/plugins/regexp.js +90 -0
- package/src/plugins/sort-keys-shorthand.js +7 -9
- package/src/plugins/stylistic.js +395 -0
- package/src/plugins/unicorn.js +321 -0
- package/src/react.js +40 -0
- package/src/rules/core.js +261 -0
- package/src/rules/jsx-stylistic.js +60 -0
- package/src/rules/no.js +237 -158
- package/src/plugins/import.js +0 -107
package/src/rules/no.js
CHANGED
|
@@ -1,30 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
export const rules = {
|
|
2
2
|
'no-alert': 'error',
|
|
3
3
|
'no-array-constructor': 'error',
|
|
4
4
|
'no-async-promise-executor': 'error',
|
|
5
5
|
'no-await-in-loop': 'off',
|
|
6
|
-
'no-bitwise': [
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
'no-bitwise': [
|
|
7
|
+
'warn',
|
|
8
|
+
{
|
|
9
|
+
allow: [],
|
|
10
|
+
int32Hint: false
|
|
11
|
+
}
|
|
12
|
+
],
|
|
10
13
|
'no-caller': 'error',
|
|
11
14
|
'no-case-declarations': 'error',
|
|
12
15
|
'no-class-assign': 'error',
|
|
13
16
|
'no-compare-neg-zero': 'error',
|
|
14
|
-
'no-cond-assign': [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}],
|
|
17
|
+
'no-cond-assign': [
|
|
18
|
+
'error',
|
|
19
|
+
'always'
|
|
20
|
+
],
|
|
19
21
|
'no-console': 'off',
|
|
20
22
|
'no-const-assign': 'error',
|
|
21
23
|
'no-constant-binary-expression': 'error',
|
|
22
|
-
'no-constant-condition': [
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
'no-constant-condition': [
|
|
25
|
+
'error',
|
|
26
|
+
{
|
|
27
|
+
checkLoops: false
|
|
28
|
+
}
|
|
29
|
+
],
|
|
25
30
|
'no-constructor-return': 'error',
|
|
26
31
|
'no-continue': 'off',
|
|
27
|
-
'no-control-regex': '
|
|
32
|
+
'no-control-regex': 'off',
|
|
28
33
|
'no-debugger': 'error',
|
|
29
34
|
'no-delete-var': 'error',
|
|
30
35
|
'no-div-regex': 'off',
|
|
@@ -33,69 +38,108 @@ module.exports = {
|
|
|
33
38
|
'no-dupe-else-if': 'error',
|
|
34
39
|
'no-dupe-keys': 'error',
|
|
35
40
|
'no-duplicate-case': 'error',
|
|
36
|
-
'no-duplicate-imports': [
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
'no-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
'no-duplicate-imports': [
|
|
42
|
+
'error',
|
|
43
|
+
{
|
|
44
|
+
includeExports: true
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
'no-else-return': [
|
|
48
|
+
'error',
|
|
49
|
+
{
|
|
50
|
+
allowElseIf: true
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
'no-empty': [
|
|
54
|
+
'error',
|
|
55
|
+
{
|
|
56
|
+
allowEmptyCatch: false
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
'no-empty-character-class': 'off',
|
|
60
|
+
'no-empty-function': [
|
|
61
|
+
'error',
|
|
62
|
+
{
|
|
63
|
+
allow: []
|
|
64
|
+
}
|
|
65
|
+
],
|
|
49
66
|
'no-empty-pattern': 'error',
|
|
50
67
|
'no-empty-static-block': 'error',
|
|
51
68
|
'no-eq-null': 'error',
|
|
52
|
-
'no-eval': [
|
|
53
|
-
|
|
54
|
-
|
|
69
|
+
'no-eval': [
|
|
70
|
+
'error',
|
|
71
|
+
{
|
|
72
|
+
allowIndirect: false
|
|
73
|
+
}
|
|
74
|
+
],
|
|
55
75
|
'no-ex-assign': 'error',
|
|
56
|
-
'no-extend-native': [
|
|
57
|
-
|
|
58
|
-
|
|
76
|
+
'no-extend-native': [
|
|
77
|
+
'error',
|
|
78
|
+
{
|
|
79
|
+
exceptions: []
|
|
80
|
+
}
|
|
81
|
+
],
|
|
59
82
|
'no-extra-bind': 'error',
|
|
60
|
-
'no-extra-boolean-cast': [
|
|
61
|
-
|
|
62
|
-
|
|
83
|
+
'no-extra-boolean-cast': [
|
|
84
|
+
'error',
|
|
85
|
+
{
|
|
86
|
+
enforceForLogicalOperands: true
|
|
87
|
+
}
|
|
88
|
+
],
|
|
63
89
|
'no-extra-label': 'error',
|
|
64
|
-
'no-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
90
|
+
'no-fallthrough': [
|
|
91
|
+
'error',
|
|
92
|
+
{
|
|
93
|
+
allowEmptyCase: false,
|
|
94
|
+
commentPattern: String.raw`break[\s\w]*omitted`
|
|
95
|
+
}
|
|
96
|
+
],
|
|
71
97
|
'no-func-assign': 'error',
|
|
72
|
-
'no-global-assign': [
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
98
|
+
'no-global-assign': [
|
|
99
|
+
'error',
|
|
100
|
+
{
|
|
101
|
+
exceptions: []
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
'no-implicit-coercion': [
|
|
105
|
+
'error',
|
|
106
|
+
{
|
|
107
|
+
allow: [],
|
|
108
|
+
boolean: true,
|
|
109
|
+
disallowTemplateShorthand: true,
|
|
110
|
+
number: true,
|
|
111
|
+
string: true
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
'no-implicit-globals': [
|
|
115
|
+
'error',
|
|
116
|
+
{
|
|
117
|
+
lexicalBindings: false
|
|
118
|
+
}
|
|
119
|
+
],
|
|
85
120
|
'no-implied-eval': 'error',
|
|
86
121
|
'no-import-assign': 'error',
|
|
87
122
|
'no-inline-comments': 'off',
|
|
88
|
-
'no-inner-declarations': [
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
'no-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
123
|
+
'no-inner-declarations': [
|
|
124
|
+
'error',
|
|
125
|
+
'both'
|
|
126
|
+
],
|
|
127
|
+
'no-invalid-regexp': 'off',
|
|
128
|
+
'no-invalid-this': [
|
|
129
|
+
'error',
|
|
130
|
+
{
|
|
131
|
+
capIsConstructor: true
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
'no-irregular-whitespace': [
|
|
135
|
+
'error',
|
|
136
|
+
{
|
|
137
|
+
skipComments: true,
|
|
138
|
+
skipRegExps: true,
|
|
139
|
+
skipStrings: true,
|
|
140
|
+
skipTemplates: true
|
|
141
|
+
}
|
|
142
|
+
],
|
|
99
143
|
'no-iterator': 'error',
|
|
100
144
|
'no-label-var': 'error',
|
|
101
145
|
'no-labels': 'off',
|
|
@@ -105,31 +149,18 @@ module.exports = {
|
|
|
105
149
|
'no-loss-of-precision': 'error',
|
|
106
150
|
'no-magic-numbers': 'off',
|
|
107
151
|
'no-misleading-character-class': 'error',
|
|
108
|
-
'no-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}],
|
|
115
|
-
'no-multi-spaces': ['error', {
|
|
116
|
-
exceptions: {
|
|
117
|
-
Property: false
|
|
118
|
-
}
|
|
119
|
-
}],
|
|
152
|
+
'no-multi-assign': [
|
|
153
|
+
'error',
|
|
154
|
+
{
|
|
155
|
+
ignoreNonDeclaration: false
|
|
156
|
+
}
|
|
157
|
+
],
|
|
120
158
|
'no-multi-str': 'error',
|
|
121
|
-
'no-multiple-empty-lines': ['error', {
|
|
122
|
-
max: 1,
|
|
123
|
-
maxBOF: 0,
|
|
124
|
-
maxEOF: 1
|
|
125
|
-
}],
|
|
126
159
|
'no-negated-condition': 'error',
|
|
127
160
|
'no-nested-ternary': 'off',
|
|
128
161
|
'no-new': 'error',
|
|
129
162
|
'no-new-func': 'error',
|
|
130
163
|
'no-new-native-nonconstructor': 'error',
|
|
131
|
-
'no-new-object': 'error',
|
|
132
|
-
'no-new-symbol': 'error',
|
|
133
164
|
'no-new-wrappers': 'error',
|
|
134
165
|
'no-nonoctal-decimal-escape': 'error',
|
|
135
166
|
'no-obj-calls': 'error',
|
|
@@ -141,108 +172,156 @@ module.exports = {
|
|
|
141
172
|
'no-promise-executor-return': 'error',
|
|
142
173
|
'no-proto': 'error',
|
|
143
174
|
'no-prototype-builtins': 'error',
|
|
144
|
-
'no-redeclare': [
|
|
145
|
-
|
|
146
|
-
|
|
175
|
+
'no-redeclare': [
|
|
176
|
+
'error',
|
|
177
|
+
{
|
|
178
|
+
builtinGlobals: true
|
|
179
|
+
}
|
|
180
|
+
],
|
|
147
181
|
'no-regex-spaces': 'error',
|
|
148
182
|
'no-restricted-exports': 'off',
|
|
149
183
|
'no-restricted-globals': 'off',
|
|
150
184
|
'no-restricted-imports': 'off',
|
|
151
185
|
'no-restricted-properties': 'off',
|
|
152
186
|
'no-restricted-syntax': 'off',
|
|
153
|
-
'no-return-assign': [
|
|
154
|
-
|
|
187
|
+
'no-return-assign': [
|
|
188
|
+
'error',
|
|
189
|
+
'always'
|
|
190
|
+
],
|
|
155
191
|
'no-script-url': 'error',
|
|
156
|
-
'no-self-assign': [
|
|
157
|
-
|
|
158
|
-
|
|
192
|
+
'no-self-assign': [
|
|
193
|
+
'error',
|
|
194
|
+
{
|
|
195
|
+
props: true
|
|
196
|
+
}
|
|
197
|
+
],
|
|
159
198
|
'no-self-compare': 'error',
|
|
160
|
-
'no-sequences': [
|
|
161
|
-
|
|
162
|
-
|
|
199
|
+
'no-sequences': [
|
|
200
|
+
'error',
|
|
201
|
+
{
|
|
202
|
+
allowInParentheses: false
|
|
203
|
+
}
|
|
204
|
+
],
|
|
163
205
|
'no-setter-return': 'error',
|
|
164
|
-
'no-shadow': [
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
206
|
+
'no-shadow': [
|
|
207
|
+
'error',
|
|
208
|
+
{
|
|
209
|
+
builtinGlobals: false,
|
|
210
|
+
hoist: 'functions',
|
|
211
|
+
ignoreOnInitialization: false
|
|
212
|
+
}
|
|
213
|
+
],
|
|
169
214
|
'no-shadow-restricted-names': 'error',
|
|
170
215
|
'no-sparse-arrays': 'error',
|
|
171
|
-
'no-tabs': ['error', {
|
|
172
|
-
allowIndentationTabs: false
|
|
173
|
-
}],
|
|
174
216
|
'no-template-curly-in-string': 'warn',
|
|
175
217
|
'no-ternary': 'off',
|
|
176
218
|
'no-this-before-super': 'error',
|
|
177
219
|
'no-throw-literal': 'error',
|
|
178
|
-
'no-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
220
|
+
'no-unassigned-vars': 'error',
|
|
221
|
+
'no-undef': [
|
|
222
|
+
'error',
|
|
223
|
+
{
|
|
224
|
+
typeof: true
|
|
225
|
+
}
|
|
226
|
+
],
|
|
185
227
|
'no-undef-init': 'error',
|
|
186
228
|
'no-undefined': 'off',
|
|
187
229
|
'no-underscore-dangle': 'off',
|
|
188
230
|
'no-unexpected-multiline': 'error',
|
|
189
231
|
'no-unmodified-loop-condition': 'warn',
|
|
190
|
-
'no-unneeded-ternary': [
|
|
191
|
-
|
|
192
|
-
|
|
232
|
+
'no-unneeded-ternary': [
|
|
233
|
+
'error',
|
|
234
|
+
{
|
|
235
|
+
defaultAssignment: false
|
|
236
|
+
}
|
|
237
|
+
],
|
|
193
238
|
'no-unreachable': 'error',
|
|
194
|
-
'no-unreachable-loop': [
|
|
195
|
-
|
|
196
|
-
|
|
239
|
+
'no-unreachable-loop': [
|
|
240
|
+
'error',
|
|
241
|
+
{
|
|
242
|
+
ignore: []
|
|
243
|
+
}
|
|
244
|
+
],
|
|
197
245
|
'no-unsafe-finally': 'error',
|
|
198
|
-
'no-unsafe-negation': [
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
'no-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
246
|
+
'no-unsafe-negation': [
|
|
247
|
+
'error',
|
|
248
|
+
{
|
|
249
|
+
enforceForOrderingRelations: true
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
'no-unsafe-optional-chaining': [
|
|
253
|
+
'error',
|
|
254
|
+
{
|
|
255
|
+
disallowArithmeticOperators: true
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
'no-unused-expressions': [
|
|
259
|
+
'error',
|
|
260
|
+
{
|
|
261
|
+
allowShortCircuit: false,
|
|
262
|
+
allowTaggedTemplates: false,
|
|
263
|
+
allowTernary: false,
|
|
264
|
+
enforceForJSX: true
|
|
265
|
+
}
|
|
266
|
+
],
|
|
210
267
|
'no-unused-labels': 'error',
|
|
211
268
|
'no-unused-private-class-members': 'error',
|
|
212
|
-
'no-unused-vars': [
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
269
|
+
'no-unused-vars': [
|
|
270
|
+
'warn',
|
|
271
|
+
{
|
|
272
|
+
args: 'after-used',
|
|
273
|
+
caughtErrors: 'all',
|
|
274
|
+
ignoreRestSiblings: true,
|
|
275
|
+
vars: 'all'
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
'no-use-before-define': [
|
|
279
|
+
'error',
|
|
280
|
+
{
|
|
281
|
+
classes: true,
|
|
282
|
+
functions: false,
|
|
283
|
+
variables: true
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
'no-useless-assignment': 'error',
|
|
287
|
+
'no-useless-backreference': 'off',
|
|
224
288
|
'no-useless-call': 'error',
|
|
225
289
|
'no-useless-catch': 'error',
|
|
226
|
-
'no-useless-computed-key': [
|
|
227
|
-
|
|
228
|
-
|
|
290
|
+
'no-useless-computed-key': [
|
|
291
|
+
'error',
|
|
292
|
+
{
|
|
293
|
+
enforceForClassMembers: true
|
|
294
|
+
}
|
|
295
|
+
],
|
|
229
296
|
'no-useless-concat': 'error',
|
|
230
297
|
'no-useless-constructor': 'error',
|
|
231
298
|
'no-useless-escape': 'error',
|
|
232
|
-
'no-useless-rename': [
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
299
|
+
'no-useless-rename': [
|
|
300
|
+
'error',
|
|
301
|
+
{
|
|
302
|
+
ignoreDestructuring: false,
|
|
303
|
+
ignoreExport: false,
|
|
304
|
+
ignoreImport: false
|
|
305
|
+
}
|
|
306
|
+
],
|
|
237
307
|
'no-useless-return': 'error',
|
|
238
308
|
'no-var': 'error',
|
|
239
|
-
'no-void': [
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
309
|
+
'no-void': [
|
|
310
|
+
'error',
|
|
311
|
+
{
|
|
312
|
+
allowAsStatement: false
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
'no-warning-comments': [
|
|
316
|
+
'warn',
|
|
317
|
+
{
|
|
318
|
+
location: 'start',
|
|
319
|
+
terms: [
|
|
320
|
+
'fix',
|
|
321
|
+
'fixme',
|
|
322
|
+
'todo'
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
],
|
|
247
326
|
'no-with': 'error'
|
|
248
327
|
};
|
package/src/plugins/import.js
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
rules: {
|
|
3
|
-
'import/consistent-type-specifier-style': 'off', // TODO: Reconsider if use TS/Flow
|
|
4
|
-
'import/default': 'error',
|
|
5
|
-
'import/dynamic-import-chunkname': ['error'],
|
|
6
|
-
'import/export': 'error',
|
|
7
|
-
'import/exports-last': 'off',
|
|
8
|
-
'import/extensions': 'off',
|
|
9
|
-
'import/first': ['error', 'absolute-first'],
|
|
10
|
-
'import/group-exports': 'off',
|
|
11
|
-
'import/max-dependencies': 'off',
|
|
12
|
-
'import/named': 'error',
|
|
13
|
-
'import/namespace': ['error', {
|
|
14
|
-
allowComputed: false
|
|
15
|
-
}],
|
|
16
|
-
'import/newline-after-import': ['error', {
|
|
17
|
-
considerComments: false,
|
|
18
|
-
count: 1
|
|
19
|
-
}],
|
|
20
|
-
'import/no-absolute-path': ['error', {
|
|
21
|
-
amd: true,
|
|
22
|
-
commonjs: true,
|
|
23
|
-
esmodule: true
|
|
24
|
-
}],
|
|
25
|
-
'import/no-amd': 'off',
|
|
26
|
-
'import/no-anonymous-default-export': 'off',
|
|
27
|
-
'import/no-commonjs': 'off',
|
|
28
|
-
'import/no-cycle': ['error', {
|
|
29
|
-
amd: true,
|
|
30
|
-
commonjs: true,
|
|
31
|
-
esmodule: true, // TODO
|
|
32
|
-
ignoreExternal: true
|
|
33
|
-
}],
|
|
34
|
-
'import/no-default-export': 'off',
|
|
35
|
-
'import/no-deprecated': 'warn',
|
|
36
|
-
'import/no-duplicates': ['error', {
|
|
37
|
-
considerQueryString: true
|
|
38
|
-
}],
|
|
39
|
-
'import/no-dynamic-require': 'off', // TODO
|
|
40
|
-
'import/no-empty-named-blocks': 'error',
|
|
41
|
-
'import/no-extraneous-dependencies': 'error',
|
|
42
|
-
'import/no-import-module-exports': 'off',
|
|
43
|
-
'import/no-internal-modules': 'off',
|
|
44
|
-
'import/no-mutable-exports': 'error',
|
|
45
|
-
'import/no-named-as-default': 'warn',
|
|
46
|
-
'import/no-named-as-default-member': 'error',
|
|
47
|
-
'import/no-named-default': 'off',
|
|
48
|
-
'import/no-named-export': 'off',
|
|
49
|
-
'import/no-namespace': 'off',
|
|
50
|
-
'import/no-nodejs-modules': 'off',
|
|
51
|
-
'import/no-relative-packages': 'off',
|
|
52
|
-
'import/no-relative-parent-imports': 'warn',
|
|
53
|
-
'import/no-restricted-paths': 'off',
|
|
54
|
-
'import/no-self-import': 'error',
|
|
55
|
-
'import/no-unassigned-import': 'off',
|
|
56
|
-
'import/no-unresolved': ['error', {
|
|
57
|
-
ignore: ['^#']
|
|
58
|
-
}],
|
|
59
|
-
'import/no-unused-modules': 'off', // TODO: Reconsider
|
|
60
|
-
'import/no-useless-path-segments': ['error', {
|
|
61
|
-
commonjs: true,
|
|
62
|
-
noUselessIndex: false
|
|
63
|
-
}],
|
|
64
|
-
'import/no-webpack-loader-syntax': 'error',
|
|
65
|
-
'import/order': ['error', {
|
|
66
|
-
alphabetize: {
|
|
67
|
-
caseInsensitive: true,
|
|
68
|
-
order: 'asc',
|
|
69
|
-
orderImportKind: 'ignore'
|
|
70
|
-
},
|
|
71
|
-
distinctGroup: true,
|
|
72
|
-
groups: ['builtin', 'external', 'type', 'internal', 'parent', 'sibling', 'index', 'object', 'unknown'],
|
|
73
|
-
'newlines-between': 'always-and-inside-groups',
|
|
74
|
-
pathGroups: [{
|
|
75
|
-
group: 'internal',
|
|
76
|
-
pattern: '#src/**'
|
|
77
|
-
}, {
|
|
78
|
-
group: 'parent',
|
|
79
|
-
pattern: '../**/styles.js',
|
|
80
|
-
position: 'after'
|
|
81
|
-
}, {
|
|
82
|
-
group: 'parent',
|
|
83
|
-
pattern: '../**/styles.css',
|
|
84
|
-
position: 'after'
|
|
85
|
-
}, {
|
|
86
|
-
group: 'parent',
|
|
87
|
-
pattern: '../**/styles.less',
|
|
88
|
-
position: 'after'
|
|
89
|
-
}, {
|
|
90
|
-
group: 'sibling',
|
|
91
|
-
pattern: './**/styles.js',
|
|
92
|
-
position: 'after'
|
|
93
|
-
}, {
|
|
94
|
-
group: 'sibling',
|
|
95
|
-
pattern: './**/styles.css',
|
|
96
|
-
position: 'after'
|
|
97
|
-
}, {
|
|
98
|
-
group: 'sibling',
|
|
99
|
-
pattern: './**/styles.less',
|
|
100
|
-
position: 'after'
|
|
101
|
-
}],
|
|
102
|
-
warnOnUnassignedImports: false
|
|
103
|
-
}],
|
|
104
|
-
'import/prefer-default-export': 'off',
|
|
105
|
-
'import/unambiguous': 'off' // TODO: Reconsider
|
|
106
|
-
}
|
|
107
|
-
};
|