Skip to content

Commit

Permalink
feat(eslint): enable no-nested-ternary and no-unneeded-ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlago99 committed Jan 10, 2025
1 parent e7e99a0 commit bfbda39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ export default [
'no-unused-vars': 'off',
'newline-after-var': ['warn'], // TOFIX: Deprecated rule
'no-extra-boolean-cast': 'off',
'no-nested-ternary': 'warn',
'no-unneeded-ternary': 'warn',

// Plugins
'import/order': [
Expand Down

0 comments on commit bfbda39

Please sign in to comment.