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
5e35645b
Commit
5e35645b
authored
7 years ago
by
Dan Abramov
Browse files
Options
Download
Email Patches
Plain Diff
Focus on line in eslint messages
parent
21349c54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-dev-utils/eslintFormatter.js
+1
-1
packages/react-dev-utils/eslintFormatter.js
with
1 addition
and
1 deletion
+1
-1
packages/react-dev-utils/eslintFormatter.js
+
1
-
1
View file @
5e35645b
...
...
@@ -31,7 +31,7 @@ function formatter(results) {
let
line
=
message
.
line
||
0
;
let
column
=
message
.
column
||
0
;
let
position
=
chalk
.
dim
(
`
${
line
}
:
${
column
}
`
);
let
position
=
chalk
.
dim
(
`
Line
${
line
}
:`
);
return
[
''
,
position
,
...
...
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