Skip to content

Commit

Permalink
style(eslint): allow ts-ignore with description
Browse files Browse the repository at this point in the history
  • Loading branch information
janvennemann committed Nov 20, 2020
1 parent 56795ab commit 79f8d38
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ module.exports = {
'plugin:@typescript-eslint/recommended',
]
},
{
files: ['*.spec.ts'],
rules: {
'@typescript-eslint/ban-ts-comment': ['error', {
'ts-ignore': 'allow-with-description'
}]
}
},
{
files: ['*.js'],
extends: 'axway/env-node',
Expand Down

0 comments on commit 79f8d38

Please sign in to comment.