Skip to content

Commit 7d3d72d

Browse files
committed
[eslint] webpack imports
1 parent 2a3bc41 commit 7d3d72d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.eslintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"settings": {
88
"import/resolver": {
9-
"babel-root-import": {}
9+
"babel-root-import": {},
10+
"webpack": { "config": "webpack/dev.config.js" }
1011
}
1112
}
1213
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
"eslint": "^3.12.2",
145145
"eslint-config-airbnb": "^13.0.0",
146146
"eslint-import-resolver-babel-root-import": "0.0.2",
147+
"eslint-import-resolver-webpack": "^0.8.1",
147148
"eslint-plugin-import": "^2.2.0",
148149
"eslint-plugin-jsx-a11y": "^2.2.3",
149150
"eslint-plugin-react": "^6.8.0",

0 commit comments

Comments
 (0)