Skip to content

Commit

Permalink
Turn off @typescript-eslint/no-non-null-assertion for test files (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
tclindner committed Jul 26, 2023
1 parent ab5a3da commit 463edb1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,11 @@ module.exports = {
'import/no-unresolved': 'off',
},
},
{
files: ['**/*.spec.js', '**/*.test.js', '**/tests-*.js', '**/*.spec.ts', '**/*.test.ts', '**/tests-*.ts'],
rules: {
'@typescript-eslint/no-non-null-assertion': 'off',
},
},
],
};

0 comments on commit 463edb1

Please sign in to comment.