Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable unicorn/no-array-for-each rule in base config #340

Merged
merged 1 commit into from
Mar 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-null': 'off', // We use a lot of `null`.
'unicorn/no-useless-undefined': 'off', // We use a lot of `return undefined` to satisfy the `consistent-return` rule.
Expand Down