Skip to content

Commit

Permalink
feat: no-unnecessary-condition
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Aug 8, 2024
1 parent 8983a1e commit 104b857
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/eslint-plugin-experience/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ module.exports = {
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
'@typescript-eslint/no-shadow': 'error',
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
'@typescript-eslint/no-unnecessary-condition': 'error',
'@typescript-eslint/no-unnecessary-qualifier': 'error',
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
Expand Down Expand Up @@ -613,6 +614,7 @@ module.exports = {
allow: ['info', 'assert', 'warn', 'error'],
},
],
'no-constant-condition': 'error',
'no-empty': ['error', {allowEmptyCatch: true}],
'no-implicit-coercion': ['error', {allow: ['!!']}],
'no-irregular-whitespace': 'error',
Expand Down

0 comments on commit 104b857

Please sign in to comment.