Skip to content

Commit

Permalink
Ban TS comment should be an error
Browse files Browse the repository at this point in the history
For cases where it is needed `@ts-expect-error` should be used with an explanation of why (that is allowed).
  • Loading branch information
osmestad committed Sep 19, 2023
1 parent fd9d7af commit 0bfc20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rule-sets/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default {
'@jambit/typed-redux-saga/use-typed-effects': ['error', 'macro'],
'@typescript-eslint/array-type': ['error', { default: 'generic' }],
'@typescript-eslint/await-thenable': 'error',
'@typescript-eslint/ban-ts-comment': 'warn',
'@typescript-eslint/ban-ts-comment': 'error',
'@typescript-eslint/ban-types': [
'warn',
{
Expand Down

0 comments on commit 0bfc20b

Please sign in to comment.