@mimica/eslint-config 3.0.0 → 3.0.2
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/index.mjs +25 -36
- package/package.json +3 -2
- package/index.js +0 -294
package/index.mjs
CHANGED
|
@@ -26,7 +26,6 @@ export default [
|
|
|
26
26
|
{
|
|
27
27
|
plugins: {
|
|
28
28
|
sonarjs,
|
|
29
|
-
unicorn,
|
|
30
29
|
inker,
|
|
31
30
|
promise,
|
|
32
31
|
"you-dont-need-lodash-underscore": youDontNeedLodashUnderscore,
|
|
@@ -45,22 +44,19 @@ export default [
|
|
|
45
44
|
},
|
|
46
45
|
|
|
47
46
|
rules: {
|
|
48
|
-
"arrow-parens": 0,
|
|
49
|
-
|
|
47
|
+
"arrow-parens": 0, // TODO: do not disable "arrow-parens" rule
|
|
50
48
|
camelcase: [
|
|
51
49
|
1,
|
|
52
50
|
{
|
|
53
51
|
allow: [],
|
|
54
52
|
},
|
|
55
53
|
],
|
|
56
|
-
|
|
57
54
|
"consistent-return": 0,
|
|
58
55
|
curly: [2, "all"],
|
|
59
56
|
"function-paren-newline": [0, "never"],
|
|
60
57
|
"guard-for-in": 1,
|
|
61
58
|
"implicit-arrow-linebreak": 0,
|
|
62
59
|
indent: 0,
|
|
63
|
-
|
|
64
60
|
"lines-between-class-members": [
|
|
65
61
|
2,
|
|
66
62
|
"always",
|
|
@@ -68,22 +64,18 @@ export default [
|
|
|
68
64
|
exceptAfterSingleLine: true,
|
|
69
65
|
},
|
|
70
66
|
],
|
|
71
|
-
|
|
72
67
|
"max-params": 2,
|
|
73
68
|
"no-confusing-arrow": 0,
|
|
74
69
|
"no-console": 2,
|
|
75
70
|
"no-continue": 0,
|
|
76
71
|
"no-loop-func": 1,
|
|
77
|
-
|
|
78
72
|
"no-param-reassign": [
|
|
79
73
|
2,
|
|
80
74
|
{
|
|
81
75
|
props: false,
|
|
82
76
|
},
|
|
83
77
|
],
|
|
84
|
-
|
|
85
78
|
"no-plusplus": 0,
|
|
86
|
-
|
|
87
79
|
"no-restricted-syntax": [
|
|
88
80
|
2,
|
|
89
81
|
"ForInStatement",
|
|
@@ -95,21 +87,12 @@ export default [
|
|
|
95
87
|
message: "Use #private instead.",
|
|
96
88
|
},
|
|
97
89
|
],
|
|
98
|
-
|
|
99
90
|
"no-underscore-dangle": 0,
|
|
100
91
|
"no-unused-private-class-members": 2,
|
|
101
|
-
|
|
102
|
-
"no-unused-vars": [
|
|
103
|
-
2,
|
|
104
|
-
{
|
|
105
|
-
args: "none",
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
|
|
92
|
+
"no-unused-vars": [2, { args: "none" }],
|
|
109
93
|
"no-useless-escape": 2,
|
|
110
94
|
"object-curly-newline": 0,
|
|
111
95
|
"operator-linebreak": 0,
|
|
112
|
-
|
|
113
96
|
"padding-line-between-statements": [
|
|
114
97
|
2,
|
|
115
98
|
{
|
|
@@ -143,7 +126,6 @@ export default [
|
|
|
143
126
|
next: "cjs-export",
|
|
144
127
|
},
|
|
145
128
|
],
|
|
146
|
-
|
|
147
129
|
"prefer-destructuring": [
|
|
148
130
|
2,
|
|
149
131
|
{
|
|
@@ -151,14 +133,14 @@ export default [
|
|
|
151
133
|
object: true,
|
|
152
134
|
},
|
|
153
135
|
],
|
|
154
|
-
|
|
155
136
|
quotes: [0, "double"],
|
|
156
137
|
semi: [2, "always"],
|
|
138
|
+
|
|
157
139
|
"sonarjs/no-inverted-boolean-check": 2,
|
|
158
140
|
"sonarjs/prefer-immediate-return": 2,
|
|
159
141
|
"sonarjs/prefer-while": 2,
|
|
160
|
-
"unicorn/better-regex": 2,
|
|
161
142
|
|
|
143
|
+
"unicorn/better-regex": 2,
|
|
162
144
|
"unicorn/catch-error-name": [
|
|
163
145
|
2,
|
|
164
146
|
{
|
|
@@ -166,7 +148,6 @@ export default [
|
|
|
166
148
|
ignore: ["error"],
|
|
167
149
|
},
|
|
168
150
|
],
|
|
169
|
-
|
|
170
151
|
"unicorn/consistent-destructuring": 2,
|
|
171
152
|
"unicorn/consistent-existence-index-check": 0,
|
|
172
153
|
"unicorn/consistent-function-scoping": 0,
|
|
@@ -177,29 +158,34 @@ export default [
|
|
|
177
158
|
"unicorn/import-style": 0,
|
|
178
159
|
"unicorn/no-anonymous-default-export": 0,
|
|
179
160
|
"unicorn/no-array-callback-reference": 0,
|
|
180
|
-
|
|
181
161
|
"unicorn/no-array-reduce": [
|
|
182
162
|
2,
|
|
183
163
|
{
|
|
184
164
|
allowSimpleOperations: false,
|
|
185
165
|
},
|
|
186
166
|
],
|
|
187
|
-
|
|
188
167
|
"unicorn/no-nested-ternary": 0,
|
|
189
168
|
"unicorn/no-null": 0,
|
|
190
169
|
"unicorn/no-process-exit": 0,
|
|
191
|
-
"unicorn/no-useless-undefined": 0,
|
|
170
|
+
"unicorn/no-useless-undefined": 0, // TODO: enable
|
|
192
171
|
"unicorn/numeric-separators-style": 0,
|
|
193
|
-
"unicorn/prefer-add-event-listener": 0,
|
|
172
|
+
"unicorn/prefer-add-event-listener": 0, // TODO: enable
|
|
194
173
|
"unicorn/prefer-module": 0,
|
|
195
174
|
"unicorn/prefer-query-selector": 0,
|
|
196
|
-
"unicorn/prefer-set-has": 0,
|
|
197
|
-
"unicorn/prefer-spread": 0,
|
|
175
|
+
"unicorn/prefer-set-has": 0, // TODO: enable
|
|
176
|
+
"unicorn/prefer-spread": 0, // TODO: enable
|
|
198
177
|
"unicorn/prefer-switch": 0,
|
|
199
|
-
"unicorn/prefer-ternary": 0,
|
|
178
|
+
"unicorn/prefer-ternary": 0, // TODO: enable
|
|
200
179
|
"unicorn/prefer-top-level-await": 0,
|
|
201
180
|
"unicorn/prevent-abbreviations": 0,
|
|
202
181
|
"unicorn/switch-case-braces": 0,
|
|
182
|
+
// "unicorn/template-indent": [
|
|
183
|
+
// 2,
|
|
184
|
+
// {
|
|
185
|
+
// selectors: ["TemplateLiteral"],
|
|
186
|
+
// comments: ["sql"],
|
|
187
|
+
// },
|
|
188
|
+
// ],
|
|
203
189
|
|
|
204
190
|
"inker/enforce-import-name": [
|
|
205
191
|
2,
|
|
@@ -207,7 +193,6 @@ export default [
|
|
|
207
193
|
paths: [
|
|
208
194
|
{
|
|
209
195
|
name: "path",
|
|
210
|
-
|
|
211
196
|
importNames: [
|
|
212
197
|
{
|
|
213
198
|
imported: "namespace",
|
|
@@ -221,7 +206,6 @@ export default [
|
|
|
221
206
|
},
|
|
222
207
|
{
|
|
223
208
|
name: "date-fns",
|
|
224
|
-
|
|
225
209
|
importNames: [
|
|
226
210
|
{
|
|
227
211
|
imported: "format",
|
|
@@ -235,7 +219,6 @@ export default [
|
|
|
235
219
|
},
|
|
236
220
|
{
|
|
237
221
|
name: "joi",
|
|
238
|
-
|
|
239
222
|
importNames: [
|
|
240
223
|
{
|
|
241
224
|
imported: "default",
|
|
@@ -245,7 +228,6 @@ export default [
|
|
|
245
228
|
},
|
|
246
229
|
{
|
|
247
230
|
name: "lodash",
|
|
248
|
-
|
|
249
231
|
importNames: [
|
|
250
232
|
{
|
|
251
233
|
imported: "namespace",
|
|
@@ -260,7 +242,6 @@ export default [
|
|
|
260
242
|
],
|
|
261
243
|
},
|
|
262
244
|
],
|
|
263
|
-
|
|
264
245
|
"inker/no-true-as-default": 2,
|
|
265
246
|
|
|
266
247
|
"import/order": [
|
|
@@ -280,19 +261,23 @@ export default [
|
|
|
280
261
|
},
|
|
281
262
|
],
|
|
282
263
|
|
|
264
|
+
// "promise/catch-or-return": 2,
|
|
283
265
|
"promise/no-new-statics": 2,
|
|
284
266
|
"promise/no-return-wrap": 2,
|
|
285
267
|
"promise/param-names": 2,
|
|
286
268
|
"promise/prefer-await-to-then": 2,
|
|
287
269
|
"promise/valid-params": 2,
|
|
270
|
+
|
|
288
271
|
"you-dont-need-lodash-underscore/concat": 2,
|
|
289
272
|
"you-dont-need-lodash-underscore/drop": 2,
|
|
290
273
|
"you-dont-need-lodash-underscore/drop-right": 2,
|
|
291
274
|
"you-dont-need-lodash-underscore/fill": 2,
|
|
292
275
|
"you-dont-need-lodash-underscore/find": 2,
|
|
293
276
|
"you-dont-need-lodash-underscore/find-index": 2,
|
|
277
|
+
// "you-dont-need-lodash-underscore/from-pairs": 2,
|
|
294
278
|
"you-dont-need-lodash-underscore/index-of": 2,
|
|
295
279
|
"you-dont-need-lodash-underscore/is-array": 2,
|
|
280
|
+
// "you-dont-need-lodash-underscore/is-array-buffer": 2,
|
|
296
281
|
"you-dont-need-lodash-underscore/join": 2,
|
|
297
282
|
"you-dont-need-lodash-underscore/last-index-of": 2,
|
|
298
283
|
"you-dont-need-lodash-underscore/slice": 2,
|
|
@@ -302,15 +287,18 @@ export default [
|
|
|
302
287
|
"you-dont-need-lodash-underscore/includes": 2,
|
|
303
288
|
"you-dont-need-lodash-underscore/is-nil": 2,
|
|
304
289
|
"you-dont-need-lodash-underscore/map": 2,
|
|
290
|
+
// "you-dont-need-lodash-underscore/pluck": 2,
|
|
305
291
|
"you-dont-need-lodash-underscore/reduce": 2,
|
|
306
292
|
"you-dont-need-lodash-underscore/reduce-right": 2,
|
|
307
293
|
"you-dont-need-lodash-underscore/size": 2,
|
|
308
294
|
"you-dont-need-lodash-underscore/some": 2,
|
|
309
295
|
"you-dont-need-lodash-underscore/bind": 2,
|
|
296
|
+
// "you-dont-need-lodash-underscore/partial": 2,
|
|
310
297
|
"you-dont-need-lodash-underscore/is-finite": 2,
|
|
311
298
|
"you-dont-need-lodash-underscore/is-integer": 2,
|
|
312
299
|
"you-dont-need-lodash-underscore/is-nan": 2,
|
|
313
300
|
"you-dont-need-lodash-underscore/assign": 2,
|
|
301
|
+
// "you-dont-need-lodash-underscore/extend": 2,
|
|
314
302
|
"you-dont-need-lodash-underscore/keys": 2,
|
|
315
303
|
"you-dont-need-lodash-underscore/to-pairs": 2,
|
|
316
304
|
"you-dont-need-lodash-underscore/values": 2,
|
|
@@ -321,8 +309,9 @@ export default [
|
|
|
321
309
|
"you-dont-need-lodash-underscore/replace": 2,
|
|
322
310
|
"you-dont-need-lodash-underscore/split": 2,
|
|
323
311
|
"you-dont-need-lodash-underscore/starts-with": 2,
|
|
324
|
-
"
|
|
312
|
+
// "you-dont-need-lodash-underscore/template": 2,
|
|
325
313
|
|
|
314
|
+
"eslint-comments/no-unused-disable": 2,
|
|
326
315
|
"eslint-comments/no-use": [
|
|
327
316
|
2,
|
|
328
317
|
{
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mimica/eslint-config",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Mimica eslint config",
|
|
5
|
-
"main": "index.
|
|
5
|
+
"main": "index.mjs",
|
|
6
|
+
"module": "index.mjs",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"test": "exit 0",
|
|
8
9
|
"prepublishOnly": "npm run lint-prettier",
|
package/index.js
DELETED
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
extends: ["airbnb-base", "plugin:unicorn/recommended"],
|
|
3
|
-
env: {
|
|
4
|
-
es6: true,
|
|
5
|
-
},
|
|
6
|
-
plugins: [
|
|
7
|
-
"sonarjs",
|
|
8
|
-
"unicorn",
|
|
9
|
-
"inker",
|
|
10
|
-
"promise",
|
|
11
|
-
"you-dont-need-lodash-underscore",
|
|
12
|
-
"eslint-comments",
|
|
13
|
-
],
|
|
14
|
-
parser: "@babel/eslint-parser",
|
|
15
|
-
parserOptions: {
|
|
16
|
-
requireConfigFile: false,
|
|
17
|
-
},
|
|
18
|
-
rules: {
|
|
19
|
-
"arrow-parens": 0, // TODO: do not disable "arrow-parens" rule
|
|
20
|
-
camelcase: [
|
|
21
|
-
1,
|
|
22
|
-
{
|
|
23
|
-
allow: [],
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
"consistent-return": 0,
|
|
27
|
-
curly: [2, "all"],
|
|
28
|
-
"function-paren-newline": [0, "never"],
|
|
29
|
-
"guard-for-in": 1,
|
|
30
|
-
"implicit-arrow-linebreak": 0,
|
|
31
|
-
indent: 0,
|
|
32
|
-
"lines-between-class-members": [
|
|
33
|
-
2,
|
|
34
|
-
"always",
|
|
35
|
-
{
|
|
36
|
-
exceptAfterSingleLine: true,
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
"max-params": 2,
|
|
40
|
-
"no-confusing-arrow": 0,
|
|
41
|
-
"no-console": 2,
|
|
42
|
-
"no-continue": 0,
|
|
43
|
-
"no-loop-func": 1,
|
|
44
|
-
"no-param-reassign": [
|
|
45
|
-
2,
|
|
46
|
-
{
|
|
47
|
-
props: false,
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
"no-plusplus": 0,
|
|
51
|
-
"no-restricted-syntax": [
|
|
52
|
-
2,
|
|
53
|
-
"ForInStatement",
|
|
54
|
-
"LabeledStatement",
|
|
55
|
-
"WithStatement",
|
|
56
|
-
{
|
|
57
|
-
selector:
|
|
58
|
-
':matches(PropertyDefinition, MethodDefinition)[accessibility="private"]',
|
|
59
|
-
message: "Use #private instead.",
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
"no-underscore-dangle": 0,
|
|
63
|
-
"no-unused-private-class-members": 2,
|
|
64
|
-
"no-unused-vars": [2, { args: "none" }],
|
|
65
|
-
"no-useless-escape": 2,
|
|
66
|
-
"object-curly-newline": 0,
|
|
67
|
-
"operator-linebreak": 0,
|
|
68
|
-
"padding-line-between-statements": [
|
|
69
|
-
2,
|
|
70
|
-
{
|
|
71
|
-
blankLine: "always",
|
|
72
|
-
prev: "*",
|
|
73
|
-
next: "function",
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
blankLine: "always",
|
|
77
|
-
prev: "function",
|
|
78
|
-
next: "*",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
blankLine: "always",
|
|
82
|
-
prev: "*",
|
|
83
|
-
next: "class",
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
blankLine: "always",
|
|
87
|
-
prev: "class",
|
|
88
|
-
next: "*",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
blankLine: "always",
|
|
92
|
-
prev: "cjs-export",
|
|
93
|
-
next: "*",
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
blankLine: "always",
|
|
97
|
-
prev: "*",
|
|
98
|
-
next: "cjs-export",
|
|
99
|
-
},
|
|
100
|
-
],
|
|
101
|
-
"prefer-destructuring": [
|
|
102
|
-
2,
|
|
103
|
-
{
|
|
104
|
-
array: false,
|
|
105
|
-
object: true,
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
quotes: [0, "double"],
|
|
109
|
-
semi: [2, "always"],
|
|
110
|
-
|
|
111
|
-
"sonarjs/no-inverted-boolean-check": 2,
|
|
112
|
-
"sonarjs/prefer-immediate-return": 2,
|
|
113
|
-
"sonarjs/prefer-while": 2,
|
|
114
|
-
|
|
115
|
-
"unicorn/better-regex": 2,
|
|
116
|
-
"unicorn/catch-error-name": [
|
|
117
|
-
2,
|
|
118
|
-
{
|
|
119
|
-
name: "err",
|
|
120
|
-
ignore: ["error"],
|
|
121
|
-
},
|
|
122
|
-
],
|
|
123
|
-
"unicorn/consistent-destructuring": 2,
|
|
124
|
-
"unicorn/consistent-existence-index-check": 0,
|
|
125
|
-
"unicorn/consistent-function-scoping": 0,
|
|
126
|
-
"unicorn/custom-error-definition": 2,
|
|
127
|
-
"unicorn/empty-brace-spaces": 0,
|
|
128
|
-
"unicorn/explicit-length-check": 0,
|
|
129
|
-
"unicorn/filename-case": 0,
|
|
130
|
-
"unicorn/import-style": 0,
|
|
131
|
-
"unicorn/no-anonymous-default-export": 0,
|
|
132
|
-
"unicorn/no-array-callback-reference": 0,
|
|
133
|
-
"unicorn/no-array-reduce": [
|
|
134
|
-
2,
|
|
135
|
-
{
|
|
136
|
-
allowSimpleOperations: false,
|
|
137
|
-
},
|
|
138
|
-
],
|
|
139
|
-
"unicorn/no-nested-ternary": 0,
|
|
140
|
-
"unicorn/no-null": 0,
|
|
141
|
-
"unicorn/no-process-exit": 0,
|
|
142
|
-
"unicorn/no-useless-undefined": 0, // TODO: enable
|
|
143
|
-
"unicorn/numeric-separators-style": 0,
|
|
144
|
-
"unicorn/prefer-add-event-listener": 0, // TODO: enable
|
|
145
|
-
"unicorn/prefer-module": 0,
|
|
146
|
-
"unicorn/prefer-query-selector": 0,
|
|
147
|
-
"unicorn/prefer-set-has": 0, // TODO: enable
|
|
148
|
-
"unicorn/prefer-spread": 0, // TODO: enable
|
|
149
|
-
"unicorn/prefer-switch": 0,
|
|
150
|
-
"unicorn/prefer-ternary": 0, // TODO: enable
|
|
151
|
-
"unicorn/prefer-top-level-await": 0,
|
|
152
|
-
"unicorn/prevent-abbreviations": 0,
|
|
153
|
-
"unicorn/switch-case-braces": 0,
|
|
154
|
-
// "unicorn/template-indent": [
|
|
155
|
-
// 2,
|
|
156
|
-
// {
|
|
157
|
-
// selectors: ["TemplateLiteral"],
|
|
158
|
-
// comments: ["sql"],
|
|
159
|
-
// },
|
|
160
|
-
// ],
|
|
161
|
-
|
|
162
|
-
"inker/enforce-import-name": [
|
|
163
|
-
2,
|
|
164
|
-
{
|
|
165
|
-
paths: [
|
|
166
|
-
{
|
|
167
|
-
name: "path",
|
|
168
|
-
importNames: [
|
|
169
|
-
{
|
|
170
|
-
imported: "namespace",
|
|
171
|
-
local: "Path",
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
imported: "default",
|
|
175
|
-
local: "Path",
|
|
176
|
-
},
|
|
177
|
-
],
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
name: "date-fns",
|
|
181
|
-
importNames: [
|
|
182
|
-
{
|
|
183
|
-
imported: "format",
|
|
184
|
-
local: "formatDate",
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
imported: "isValid",
|
|
188
|
-
local: "isDateValid",
|
|
189
|
-
},
|
|
190
|
-
],
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
name: "joi",
|
|
194
|
-
importNames: [
|
|
195
|
-
{
|
|
196
|
-
imported: "default",
|
|
197
|
-
local: "Joi",
|
|
198
|
-
},
|
|
199
|
-
],
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
name: "lodash",
|
|
203
|
-
importNames: [
|
|
204
|
-
{
|
|
205
|
-
imported: "namespace",
|
|
206
|
-
local: "_",
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
imported: "default",
|
|
210
|
-
local: "_",
|
|
211
|
-
},
|
|
212
|
-
],
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
},
|
|
216
|
-
],
|
|
217
|
-
"inker/no-true-as-default": 2,
|
|
218
|
-
|
|
219
|
-
"import/order": [
|
|
220
|
-
2,
|
|
221
|
-
{
|
|
222
|
-
groups: [
|
|
223
|
-
"builtin",
|
|
224
|
-
"external",
|
|
225
|
-
"internal",
|
|
226
|
-
"parent",
|
|
227
|
-
"sibling",
|
|
228
|
-
"index",
|
|
229
|
-
],
|
|
230
|
-
"newlines-between": "always",
|
|
231
|
-
distinctGroup: false,
|
|
232
|
-
warnOnUnassignedImports: true,
|
|
233
|
-
},
|
|
234
|
-
],
|
|
235
|
-
|
|
236
|
-
// "promise/catch-or-return": 2,
|
|
237
|
-
"promise/no-new-statics": 2,
|
|
238
|
-
"promise/no-return-wrap": 2,
|
|
239
|
-
"promise/param-names": 2,
|
|
240
|
-
"promise/prefer-await-to-then": 2,
|
|
241
|
-
"promise/valid-params": 2,
|
|
242
|
-
|
|
243
|
-
"you-dont-need-lodash-underscore/concat": 2,
|
|
244
|
-
"you-dont-need-lodash-underscore/drop": 2,
|
|
245
|
-
"you-dont-need-lodash-underscore/drop-right": 2,
|
|
246
|
-
"you-dont-need-lodash-underscore/fill": 2,
|
|
247
|
-
"you-dont-need-lodash-underscore/find": 2,
|
|
248
|
-
"you-dont-need-lodash-underscore/find-index": 2,
|
|
249
|
-
// "you-dont-need-lodash-underscore/from-pairs": 2,
|
|
250
|
-
"you-dont-need-lodash-underscore/index-of": 2,
|
|
251
|
-
"you-dont-need-lodash-underscore/is-array": 2,
|
|
252
|
-
// "you-dont-need-lodash-underscore/is-array-buffer": 2,
|
|
253
|
-
"you-dont-need-lodash-underscore/join": 2,
|
|
254
|
-
"you-dont-need-lodash-underscore/last-index-of": 2,
|
|
255
|
-
"you-dont-need-lodash-underscore/slice": 2,
|
|
256
|
-
"you-dont-need-lodash-underscore/each": 2,
|
|
257
|
-
"you-dont-need-lodash-underscore/every": 2,
|
|
258
|
-
"you-dont-need-lodash-underscore/filter": 2,
|
|
259
|
-
"you-dont-need-lodash-underscore/includes": 2,
|
|
260
|
-
"you-dont-need-lodash-underscore/is-nil": 2,
|
|
261
|
-
"you-dont-need-lodash-underscore/map": 2,
|
|
262
|
-
// "you-dont-need-lodash-underscore/pluck": 2,
|
|
263
|
-
"you-dont-need-lodash-underscore/reduce": 2,
|
|
264
|
-
"you-dont-need-lodash-underscore/reduce-right": 2,
|
|
265
|
-
"you-dont-need-lodash-underscore/size": 2,
|
|
266
|
-
"you-dont-need-lodash-underscore/some": 2,
|
|
267
|
-
"you-dont-need-lodash-underscore/bind": 2,
|
|
268
|
-
// "you-dont-need-lodash-underscore/partial": 2,
|
|
269
|
-
"you-dont-need-lodash-underscore/is-finite": 2,
|
|
270
|
-
"you-dont-need-lodash-underscore/is-integer": 2,
|
|
271
|
-
"you-dont-need-lodash-underscore/is-nan": 2,
|
|
272
|
-
"you-dont-need-lodash-underscore/assign": 2,
|
|
273
|
-
// "you-dont-need-lodash-underscore/extend": 2,
|
|
274
|
-
"you-dont-need-lodash-underscore/keys": 2,
|
|
275
|
-
"you-dont-need-lodash-underscore/to-pairs": 2,
|
|
276
|
-
"you-dont-need-lodash-underscore/values": 2,
|
|
277
|
-
"you-dont-need-lodash-underscore/ends-with": 2,
|
|
278
|
-
"you-dont-need-lodash-underscore/pad-start": 2,
|
|
279
|
-
"you-dont-need-lodash-underscore/pad-end": 2,
|
|
280
|
-
"you-dont-need-lodash-underscore/repeat": 2,
|
|
281
|
-
"you-dont-need-lodash-underscore/replace": 2,
|
|
282
|
-
"you-dont-need-lodash-underscore/split": 2,
|
|
283
|
-
"you-dont-need-lodash-underscore/starts-with": 2,
|
|
284
|
-
// "you-dont-need-lodash-underscore/template": 2,
|
|
285
|
-
|
|
286
|
-
"eslint-comments/no-unused-disable": 2,
|
|
287
|
-
"eslint-comments/no-use": [
|
|
288
|
-
2,
|
|
289
|
-
{
|
|
290
|
-
allow: ["eslint-disable", "eslint-disable-next-line"],
|
|
291
|
-
},
|
|
292
|
-
],
|
|
293
|
-
},
|
|
294
|
-
};
|