Skip to content

Commit c64329c

Browse files
authored
Merge pull request #77 from netlify/chore/fix-unicorn
Fix Unicorn ESLint plugin upgrade
2 parents 60350c2 + c8defbd commit c64329c

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
@@ -266,7 +266,7 @@ module.exports = {
266266
'unicorn/better-regex': [2, { sortCharacterClasses: false }],
267267
// Too strict
268268
'unicorn/no-null': 0,
269-
'unicorn/no-reduce': 0,
269+
'unicorn/no-array-reduce': 0,
270270
// This rule gives too many false positives
271271
'unicorn/prevent-abbreviations': 0,
272272
// Conflicts with Prettier sometimes
@@ -275,13 +275,13 @@ module.exports = {
275275
'unicorn/no-unreadable-array-destructuring': 0,
276276
// Not useful for us
277277
'unicorn/expiring-todo-comments': 0,
278-
'unicorn/no-fn-reference-in-iterator': 0,
278+
'unicorn/no-array-callback-reference': 0,
279279
// TODO: enable those rules
280280
'unicorn/no-process-exit': 0,
281281
'unicorn/import-style': 0,
282282
// TODO: enable after dropping Node 8 support
283283
'unicorn/prefer-optional-catch-binding': 0,
284-
'unicorn/prefer-trim-start-end': 0,
284+
'unicorn/prefer-string-trim-start-end': 0,
285285
// TODO: enable after dropping Node <12 support
286286
'unicorn/numeric-separators-style': 0,
287287
},

0 commit comments

Comments
 (0)