File tree Expand file tree Collapse file tree 11 files changed +14
-8
lines changed
fixtures/kitchensink/integration Expand file tree Collapse file tree 11 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 13
13
"devDependencies" : {
14
14
"babel-eslint" : " ^7.1.1" ,
15
15
"eslint" : " ^3.15.0" ,
16
- "eslint-config-react-app" : " 0.5.1" ,
16
+ "eslint-config-react-app" : " ^ 0.5.1" ,
17
17
"eslint-plugin-flowtype" : " ^2.30.0" ,
18
18
"eslint-plugin-import" : " ^2.2.0" ,
19
- "eslint-plugin-jsx-a11y" : " 2.2.3" ,
19
+ "eslint-plugin-jsx-a11y" : " ^ 2.2.3" ,
20
20
"eslint-plugin-react" : " ^6.9.0" ,
21
21
"lerna" : " ^2.0.0-beta.37" ,
22
22
"lerna-changelog" : " ^0.2.3"
Original file line number Diff line number Diff line change 6
6
* LICENSE file in the root directory of this source tree. An additional grant
7
7
* of patent rights can be found in the PATENTS file in the same directory.
8
8
*/
9
+
10
+ // eslint-disable-next-line
9
11
'use strict' ;
10
12
11
13
var path = require ( 'path' ) ;
Original file line number Diff line number Diff line change 36
36
// /!\ DO NOT MODIFY THIS FILE /!\
37
37
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38
38
39
+ // eslint-disable-next-line
39
40
'use strict' ;
40
41
41
42
var chalk = require ( 'chalk' ) ;
Original file line number Diff line number Diff line change 15
15
// Learn more about creating plugins like this:
16
16
// https://github.com/ampedandwired/html-webpack-plugin#events
17
17
18
+ // eslint-disable-next-line
18
19
'use strict' ;
19
20
const escapeStringRegexp = require ( 'escape-string-regexp' ) ;
20
21
Original file line number Diff line number Diff line change 11
11
// We’re not sure why this isn't Webpack's default behavior.
12
12
// See https://github.com/facebookincubator/create-react-app/issues/186.
13
13
14
+ // eslint-disable-next-line
14
15
'use strict' ;
15
16
16
17
class WatchMissingNodeModulesPlugin {
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ function formatMessage(message) {
106
106
// from user code generated by WebPack. For more information see
107
107
// https://github.com/facebookincubator/create-react-app/pull/1050
108
108
message = message . replace (
109
- / ^ \s * a t \s ( (? ! w e b p a c k : ) .) * : \d + : \d + [ \s \ )] * ( \n | $ ) / gm, ''
109
+ / ^ \s * a t \s ( (? ! w e b p a c k : ) .) * : \d + : \d + [ \s ) ] * ( \n | $ ) / gm, ''
110
110
) ; // at ... ...:x:y
111
111
112
112
return message ;
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ case 'test':
14
14
{ stdio : 'inherit' }
15
15
) ;
16
16
if ( result . signal ) {
17
- if ( result . signal == 'SIGKILL' ) {
17
+ if ( result . signal === 'SIGKILL' ) {
18
18
console . log (
19
19
'The build failed because the process exited too early. ' +
20
20
'This probably means the system ran out of memory or someone called ' +
21
21
'`kill -9` on the process.'
22
22
) ;
23
- } else if ( result . signal == 'SIGTERM' ) {
23
+ } else if ( result . signal === 'SIGTERM' ) {
24
24
console . log (
25
25
'The build failed because the process exited too early. ' +
26
26
'Someone might have called `kill` or `killall`, or the system could ' +
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ var HtmlWebpackPlugin = require('html-webpack-plugin');
15
15
var ExtractTextPlugin = require ( 'extract-text-webpack-plugin' ) ;
16
16
var ManifestPlugin = require ( 'webpack-manifest-plugin' ) ;
17
17
var InterpolateHtmlPlugin = require ( 'react-dev-utils/InterpolateHtmlPlugin' ) ;
18
- var url = require ( 'url' ) ;
19
18
var paths = require ( './paths' ) ;
20
19
var getClientEnvironment = require ( './env' ) ;
21
20
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if (process.env.E2E_FILE) {
15
15
const markup = fs . readFileSync ( file , 'utf8' )
16
16
getMarkup = ( ) => markup
17
17
18
- const pathPrefix = process . env . PUBLIC_URL . replace ( / ^ h t t p s ? : \/ \/ [ ^ \ /] + \/ ? / , '' )
18
+ const pathPrefix = process . env . PUBLIC_URL . replace ( / ^ h t t p s ? : \/ \/ [ ^ / ] + \/ ? / , '' )
19
19
20
20
resourceLoader = ( resource , callback ) => callback (
21
21
null ,
Original file line number Diff line number Diff line change 83
83
fi
84
84
85
85
# Lint own code
86
- ./node_modules/.bin/eslint --ignore-path .gitignore ./
86
+ ./node_modules/.bin/eslint --max-warnings 0 -- ignore-path .gitignore ./
87
87
88
88
# ******************************************************************************
89
89
# First, test the create-react-app development environment.
Original file line number Diff line number Diff line change 7
7
* LICENSE file in the root directory of this source tree. An additional grant
8
8
* of patent rights can be found in the PATENTS file in the same directory.
9
9
*/
10
+
11
+ // eslint-disable-next-line
10
12
'use strict' ;
11
13
12
14
// Replaces internal dependencies in package.json with local package paths.
You can’t perform that action at this time.
0 commit comments