Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoji Chen committed Dec 13, 2019
1 parent c0fd20c commit d5f8750
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,17 @@ module.exports = {
// tests are run with aliases set up in node and webpack.
// This means lint will not find the imported files and generate false warnings
{
files: ['**/test/**/*.js'],
// scripts use devDependencies
files: ['**/test/**/*.js', 'scripts/**/*.js'],
rules: {
'import/no-unresolved': 0,
'import/no-extraneous-dependencies': 0
}
},
// scripts use devDependencies
{
files: ['**/scripts/**/*.js'],
files: ['examples/**/*.js'],
rules: {
'import/no-unresolved': 0,
'import/no-extraneous-dependencies': 0
'import/no-unresolved': 0
}
}
]
Expand Down

0 comments on commit d5f8750

Please sign in to comment.