Skip to content

Commit

Permalink
Add @typescript-eslint/no-unnecessary-condition rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 18, 2019
1 parent 54c4e31 commit 7760a16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ module.exports = {
allowDestructuring: true
}
],
'@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

0 comments on commit 7760a16

Please sign in to comment.