Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can i change eslintFormatter.js ??? #10460

Open
uk-taniyama opened this issue Jan 28, 2021 · 0 comments
Open

Can i change eslintFormatter.js ??? #10460

uk-taniyama opened this issue Jan 28, 2021 · 0 comments

Comments

@uk-taniyama
Copy link

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 + ':');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant