Skip to content

Commit

Permalink
feat(@typescript-eslint): enable `no-unnecessary-boolean-literal-comp…
Browse files Browse the repository at this point in the history
…are`

We tend to prefer this style with our boolean checks, and it could help make code more readable
  • Loading branch information
G-Rath committed Nov 23, 2021
1 parent 84de298 commit 18ac8f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions @typescript-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const config = {
'@typescript-eslint/no-shadow': 'warn',
'@typescript-eslint/no-this-alias': ['error', { allowDestructuring: true }],
'@typescript-eslint/no-throw-literal': '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',
Expand Down

0 comments on commit 18ac8f3

Please sign in to comment.