Skip to content

Can i change eslintFormatter.js ??? #10460

Open
@uk-taniyama

Description

@uk-taniyama

i use visual source code.
When error(or warning) occurs in eslint, i cannot jump to VS Code.
because output as follows......

src\AddTodo.tsx
  Line 1:10:   'AnyAction' is defined but never used             @typescript-eslint/no-unused-vars

Therefore, I would like to change the output to the following.

src\AddTodo.tsx
  C:\work\src\AddTodo.tsx:1:10:   'AnyAction' is defined but never used             @typescript-eslint/no-unused-vars

Now, i edited 'node_modules/eslintFormatter.js' as follows.

let position = chalk.bold(result.filePath + ':' + line + ':');

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions