mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-13 09:00:30 +08:00
Focus on line in eslint messages
This commit is contained in:
2
packages/react-dev-utils/eslintFormatter.js
vendored
2
packages/react-dev-utils/eslintFormatter.js
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user