Skip to content

Commit e0118d2

Browse files
committed
Disable unicorn/prefer-ternary rule
1 parent 1c24abe commit e0118d2

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
@@ -116,6 +116,7 @@ module.exports = {
116116
strict: ['error', 'global'],
117117
'unicorn/import-style': ['off'], // TODO(@lishaduck): Re-enable this once we use ESM.
118118
'unicorn/no-null': 'off',
119+
'unicorn/prefer-ternary': 'off',
119120
'unicorn/prevent-abbreviations': 'off',
120121
'unicorn/catch-error-name': ['error', {ignore: [/^err/i]}], // We use "error" for the result of `intoError` as well.
121122
'no-fallthrough': 'off', // TSESLint doesn't provide an alternative, and TS checks for this anyway.

0 commit comments

Comments
 (0)