Skip to content

Commit c8defbd

Browse files
committed
fix: unicorn ESLint plugin upgrade
1 parent bbfd845 commit c8defbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.eslintrc.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ module.exports = {
268268
'unicorn/better-regex': [2, { sortCharacterClasses: false }],
269269
// Too strict
270270
'unicorn/no-null': 0,
271-
'unicorn/no-reduce': 0,
271+
'unicorn/no-array-reduce': 0,
272272
// This rule gives too many false positives
273273
'unicorn/prevent-abbreviations': 0,
274274
// Conflicts with Prettier sometimes
@@ -277,13 +277,13 @@ module.exports = {
277277
'unicorn/no-unreadable-array-destructuring': 0,
278278
// Not useful for us
279279
'unicorn/expiring-todo-comments': 0,
280-
'unicorn/no-fn-reference-in-iterator': 0,
280+
'unicorn/no-array-callback-reference': 0,
281281
// TODO: enable those rules
282282
'unicorn/no-process-exit': 0,
283283
'unicorn/import-style': 0,
284284
// TODO: enable after dropping Node 8 support
285285
'unicorn/prefer-optional-catch-binding': 0,
286-
'unicorn/prefer-trim-start-end': 0,
286+
'unicorn/prefer-string-trim-start-end': 0,
287287
// TODO: enable after dropping Node <12 support
288288
'unicorn/numeric-separators-style': 0,
289289
},

0 commit comments

Comments
 (0)