Skip to content

Commit

Permalink
ESLint: Disable conflicting rules
Browse files Browse the repository at this point in the history
see code comment
  • Loading branch information
Turbo87 committed Nov 1, 2018
1 parent 47d81f1 commit 3fe346b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ module.exports = {
qunit: true
}
},
{
files: ['**/*.ts'],
rules: {
// the TypeScript compiler already takes care of this and
// leaving it enabled results in false positives for interface imports
'no-unused-vars': false,
'no-undef': false,
}
},
{
files: ['index.js', 'addon-test-support/**/*.[jt]s', 'config/**/*.js'],
plugins: [
Expand Down

0 comments on commit 3fe346b

Please sign in to comment.