Skip to content

Commit

Permalink
Add @typescript-eslint/ban-ts-comment rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 9, 2021
1 parent a425791 commit 1e6dc3e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ module.exports = {
}
],
'@typescript-eslint/await-thenable': 'error',
'@typescript-eslint/ban-ts-comment': [
'error',
{
'ts-expect-error': 'allow-with-description',
minimumDescriptionLength: 4
}
],
'@typescript-eslint/ban-tslint-comment': 'error',
'@typescript-eslint/ban-types': [
'error',
Expand Down

0 comments on commit 1e6dc3e

Please sign in to comment.