File tree 3 files changed +5
-11
lines changed
3 files changed +5
-11
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 @@ -162,14 +162,8 @@ module.exports = {
162
162
{
163
163
exclude : [
164
164
/ \. h t m l $ / ,
165
- // We have to write /\.(js|jsx)(\?.*)?$/ rather than just /\.(js|jsx)$/
166
- // because you might change the hot reloading server from the custom one
167
- // to Webpack's built-in webpack-dev-server/client?/, which would not
168
- // get properly excluded by /\.(js|jsx)$/ because of the query string.
169
- // Webpack 2 fixes this, but for now we include this hack.
170
- // https://github.com/facebookincubator/create-react-app/issues/1713
171
- / \. ( j s | j s x ) ( \? .* ) ? $ / ,
172
- / \. ( t s | t s x ) ( \? .* ) ? $ / ,
165
+ / \. ( j s | j s x ) $ / ,
166
+ / \. ( t s | t s x ) $ / ,
173
167
/ \. c s s $ / ,
174
168
/ \. j s o n $ / ,
175
169
/ \. b m p $ / ,
@@ -237,7 +231,7 @@ module.exports = {
237
231
] ,
238
232
} ,
239
233
// ** STOP ** Are you adding a new loader?
240
- // Remember to add the new extension(s) to the "url " loader exclusion list.
234
+ // Remember to add the new extension(s) to the "file " loader exclusion list.
241
235
] ,
242
236
} ,
243
237
plugins : [
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ module.exports = {
189
189
{
190
190
test : / \. ( t s | t s x ) $ / ,
191
191
include : paths . appSrc ,
192
- loader : require . resolve ( 'ts-loader' )
192
+ loader : require . resolve ( 'ts-loader' ) ,
193
193
} ,
194
194
// The notation here is somewhat confusing.
195
195
// "postcss" loader applies autoprefixer to our CSS.
You can’t perform that action at this time.
0 commit comments