File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 12
12
],
13
13
"peerDependencies" : {
14
14
"babel-eslint" : " ^7.2.3" ,
15
- "eslint" : " ^3.19.0 " ,
15
+ "eslint" : " ^4.1.1 " ,
16
16
"eslint-plugin-flowtype" : " ^2.33.0" ,
17
17
"eslint-plugin-import" : " ^2.2.0" ,
18
18
"eslint-plugin-jsx-a11y" : " ^5.0.3" ,
Original file line number Diff line number Diff line change @@ -163,14 +163,8 @@ module.exports = {
163
163
{
164
164
exclude : [
165
165
/ \. h t m l $ / ,
166
- // We have to write /\.(js|jsx)(\?.*)?$/ rather than just /\.(js|jsx)$/
167
- // because you might change the hot reloading server from the custom one
168
- // to Webpack's built-in webpack-dev-server/client?/, which would not
169
- // get properly excluded by /\.(js|jsx)$/ because of the query string.
170
- // Webpack 2 fixes this, but for now we include this hack.
171
- // https://github.com/facebookincubator/create-react-app/issues/1713
172
- / \. ( j s | j s x ) ( \? .* ) ? $ / ,
173
- / \. ( t s | t s x ) ( \? .* ) ? $ / ,
166
+ / \. ( j s | j s x ) $ / ,
167
+ / \. ( t s | t s x ) $ / ,
174
168
/ \. c s s $ / ,
175
169
/ \. j s o n $ / ,
176
170
/ \. b m p $ / ,
@@ -241,7 +235,7 @@ module.exports = {
241
235
] ,
242
236
} ,
243
237
// ** STOP ** Are you adding a new loader?
244
- // Remember to add the new extension(s) to the "url " loader exclusion list.
238
+ // Remember to add the new extension(s) to the "file " loader exclusion list.
245
239
] ,
246
240
} ,
247
241
plugins : [
You can’t perform that action at this time.
0 commit comments