Skip to content

Commit

Permalink
feat: check against unsafe any use (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker authored Apr 9, 2020
1 parent e92f9d4 commit 6d3b1bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ module.exports = {
'@typescript-eslint/no-require-imports': 'error',
'@typescript-eslint/no-unnecessary-qualifier': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'warn',
// Switch to error when all cases are fixed
'@typescript-eslint/no-unsafe-call': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unsafe-return': 'warn',
'@typescript-eslint/no-unused-vars': [
'warn',
{
Expand Down

0 comments on commit 6d3b1bc

Please sign in to comment.