Skip to content

Commit

Permalink
Turn on @typescript-eslint/no-unnecessary-condition rule (#3508)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Apr 11, 2022
1 parent 8241b5b commit e546299
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions static/.eslintrc.yml
Expand Up @@ -29,9 +29,12 @@ overrides:
parserOptions:
sourceType: module
ecmaVersion: latest
project: static/tsconfig.json
rules:
'@typescript-eslint/no-empty-function': off
'@typescript-eslint/no-unused-vars': off
'@typescript-eslint/no-var-requires': off # Needed for now, can't move some
'@typescript-eslint/no-explicit-any': off # Too much js code still exists
'@typescript-eslint/ban-ts-comment': off # We need some @ts-ignore at some points
'@typescript-eslint/no-unnecessary-condition':
- warn # for now just warn

0 comments on commit e546299

Please sign in to comment.