Skip to content

Commit f52ca9e

Browse files
committed
ESLint: Explicitly configure unicorn/explicit-length-check rule
1 parent 12e5b52 commit f52ca9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module.exports = {
3838
'ember-concurrency/no-perform-without-catch': 'warn',
3939
'ember-concurrency/require-task-name-suffix': 'error',
4040

41+
'unicorn/explicit-length-check': ['error', { 'non-zero': 'not-equal' }],
4142
// disabled because we need `null` since JSON has no `undefined`
4243
'unicorn/no-null': 'off',
4344
// disabled because this rule conflicts with prettier

0 commit comments

Comments
 (0)