Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
43b819c2
Commit
43b819c2
authored
7 years ago
by
Dan Abramov
Browse files
Options
Download
Email Patches
Plain Diff
"rule keywords" => "keywords"
parent
55afd862
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
packages/react-dev-utils/WebpackDevServerUtils.js
+1
-1
packages/react-dev-utils/WebpackDevServerUtils.js
packages/react-dev-utils/eslintFormatter.js
+1
-1
packages/react-dev-utils/eslintFormatter.js
packages/react-scripts/scripts/build.js
+1
-1
packages/react-scripts/scripts/build.js
with
3 additions
and
3 deletions
+3
-3
packages/react-dev-utils/WebpackDevServerUtils.js
+
1
-
1
View file @
43b819c2
...
@@ -159,7 +159,7 @@ function createCompiler(webpack, config, appName, urls, useYarn) {
...
@@ -159,7 +159,7 @@ function createCompiler(webpack, config, appName, urls, useYarn) {
// Teach some ESLint tricks.
// Teach some ESLint tricks.
console
.
log
(
console
.
log
(
'
\n
Search for the
'
+
'
\n
Search for the
'
+
chalk
.
underline
(
chalk
.
yellow
(
'
rule
keywords
'
))
+
chalk
.
underline
(
chalk
.
yellow
(
'
keywords
'
))
+
'
to learn more about each warning.
'
'
to learn more about each warning.
'
);
);
console
.
log
(
console
.
log
(
...
...
This diff is collapsed.
Click to expand it.
packages/react-dev-utils/eslintFormatter.js
+
1
-
1
View file @
43b819c2
...
@@ -74,7 +74,7 @@ function formatter(results) {
...
@@ -74,7 +74,7 @@ function formatter(results) {
// we can only be sure it's an ESLint error before exiting
// we can only be sure it's an ESLint error before exiting
// this function.
// this function.
output
+=
'
Search for the
'
+
output
+=
'
Search for the
'
+
chalk
.
underline
(
chalk
.
red
(
'
rule
keywords
'
))
+
chalk
.
underline
(
chalk
.
red
(
'
keywords
'
))
+
'
to learn more about each error.
'
;
'
to learn more about each error.
'
;
}
}
...
...
This diff is collapsed.
Click to expand it.
packages/react-scripts/scripts/build.js
+
1
-
1
View file @
43b819c2
...
@@ -62,7 +62,7 @@ measureFileSizesBeforeBuild(paths.appBuild)
...
@@ -62,7 +62,7 @@ measureFileSizesBeforeBuild(paths.appBuild)
console
.
log
(
warnings
.
join
(
'
\n\n
'
));
console
.
log
(
warnings
.
join
(
'
\n\n
'
));
console
.
log
(
console
.
log
(
'
\n
Search for the
'
+
'
\n
Search for the
'
+
chalk
.
underline
(
chalk
.
yellow
(
'
rule
keywords
'
))
+
chalk
.
underline
(
chalk
.
yellow
(
'
keywords
'
))
+
'
to learn more about each warning.
'
'
to learn more about each warning.
'
);
);
console
.
log
(
console
.
log
(
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment