Skip to content

Commit

Permalink
Merge pull request #340 from bmish/unicorn-no-array-for-each-disable
Browse files Browse the repository at this point in the history
Disable `unicorn/no-array-for-each` rule in `base` config
  • Loading branch information
bmish authored Mar 24, 2021
2 parents 48502e7 + 2ce7764 commit cd51722
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/config/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ module.exports = {
'unicorn/consistent-function-scoping': 'off', // We have a lot of functions in different scopes.
'unicorn/import-style': 'off', // Too noisy, not useful enough.
'unicorn/no-array-callback-reference': 'off', // We use this a lot.
'unicorn/no-array-for-each': 'off', // We use a lot of `forEach` and this may be too opinionated.
'unicorn/no-array-reduce': 'off', // We use a lot of `reduce`.
'unicorn/no-lonely-if': 'off', // Sometimes the code is clearer with the lonely if.
'unicorn/no-null': 'off', // We use a lot of `null`.
Expand Down

0 comments on commit cd51722

Please sign in to comment.