Skip to content

Commit

Permalink
fix(eslint): allow nesting ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprevot committed Nov 13, 2024
1 parent 4480baa commit 669800a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-snowball-config/configs/stylistic.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ export default [
'no-negated-condition': 'off',

// disallow nested ternary expressions
'no-nested-ternary': 'error',
'no-nested-ternary': 'off',

// disallow use of the Object constructor
'no-new-object': 'error',
Expand Down

0 comments on commit 669800a

Please sign in to comment.