Skip to content

Commit

Permalink
[Tests] consolidate eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 31, 2022
1 parent 128d505 commit eef7487
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 21 deletions.
20 changes: 20 additions & 0 deletions .eslintrc
Expand Up @@ -102,6 +102,16 @@
"es6": false,
},
},
{
"files": "resolvers/webpack/**",
"rules": {
"import/no-extraneous-dependencies": 1,
"no-console": 1,
},
"env": {
"es6": true,
},
},
{
"files": [
"resolvers/*/test/**/*",
Expand All @@ -127,5 +137,15 @@
"no-console": 1,
},
},
{
"files": "tests/**",
"env": {
"mocha": true,
},
"rules": {
"max-len": 0,
"import/default": 0,
},
},
],
}
3 changes: 0 additions & 3 deletions memo-parser/.eslintrc.yml

This file was deleted.

9 changes: 0 additions & 9 deletions resolvers/webpack/.eslintrc

This file was deleted.

9 changes: 0 additions & 9 deletions tests/.eslintrc

This file was deleted.

0 comments on commit eef7487

Please sign in to comment.