Skip to content

Commit a9d767c

Browse files
committed
ESLint: Disable unicorn/no-array-for-each rule
1 parent aaefb78 commit a9d767c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ module.exports = {
3939
'ember-concurrency/require-task-name-suffix': 'error',
4040

4141
'unicorn/explicit-length-check': ['error', { 'non-zero': 'not-equal' }],
42+
// disabled because of false positives related to `EmberArray`
43+
'unicorn/no-array-for-each': 'off',
4244
// disabled because we need `null` since JSON has no `undefined`
4345
'unicorn/no-null': 'off',
4446
// disabled because this rule conflicts with prettier

0 commit comments

Comments
 (0)