Skip to content

Commit 4f3aa28

Browse files
committed
enabled no-extraneous-dependencies to avoid this in the future
1 parent e14984c commit 4f3aa28

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.eslintrc.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2+
plugins:
3+
- import
24
extends:
35
- eslint:recommended
4-
- plugin:import/errors
5-
- plugin:import/warnings
6+
- plugin:import/recommended
67

78
env:
89
node: true
@@ -24,6 +25,10 @@ rules:
2425
- single
2526
- allowTemplateLiterals: true
2627

28+
# dog fooding
29+
import/no-extraneous-dependencies: "error"
30+
import/unambiguous: "off"
31+
2732
settings:
2833
import/resolver:
2934
node:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"eslint-import-resolver-node": "file:./resolvers/node",
6060
"eslint-import-resolver-webpack": "file:./resolvers/webpack",
6161
"eslint-module-utils": "file:./utils",
62-
"eslint-plugin-import": "next",
62+
"eslint-plugin-import": "2.x",
6363
"gulp": "^3.9.0",
6464
"gulp-babel": "6.1.2",
6565
"istanbul": "^0.4.0",

0 commit comments

Comments
 (0)