Skip to content

Commit

Permalink
feat: disable prefer-spread rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael M authored Feb 27, 2022
2 parents e41b030 + 5031c4e commit 4e6f478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin-node/src/configs/unicorn/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const knownRulesESM: Linter.RulesRecord = {
'unicorn/prefer-reflect-apply': 'off', // uni: 'error'
'unicorn/prefer-regexp-test': 'off', // uni: 'error' -- questionable
'unicorn/prefer-set-has': 'warn', // uni: 'error' -- negotiable
'unicorn/prefer-spread': 'error',
'unicorn/prefer-spread': 'off', // uni: 'error' -- questionable
// TODO: Enable this by default when targeting Node.js 16.
'unicorn/prefer-string-replace-all': 'off',
'unicorn/prefer-string-slice': 'error',
Expand Down

0 comments on commit 4e6f478

Please sign in to comment.