Skip to content

Commit

Permalink
only allows ts-ignore and ts-expect-error with descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitropoulos committed Jun 9, 2020
1 parent 18e54cf commit 129f290
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 @@ -111,6 +111,10 @@ module.exports = {
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/naming-convention': 'off',
'@typescript-eslint/ban-ts-comment': {
'ts-ignore': 'allow-with-description',
'ts-expect-error': 'allow-with-description',
},
},
env: {
jest: true,
Expand Down

0 comments on commit 129f290

Please sign in to comment.