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

--quiet disables --fix #157

Closed
dpinol opened this issue Apr 29, 2021 · 2 comments · Fixed by #165
Closed

--quiet disables --fix #157

dpinol opened this issue Apr 29, 2021 · 2 comments · Fixed by #165

Comments

@dpinol
Copy link
Contributor

dpinol commented Apr 29, 2021

Invoking directly eslint with --fix --quiet fixes the detected autofixable non-warning errors (as per eslint documentation https://eslint.org/docs/user-guide/command-line-interface#-quiet)

However, eslint_d --fix --quiet does not fix any error and reports to use --fix, even when it's already included:

/eslint_d  --quiet --fix src/cms/callback.ts

src/cms/callback.ts
  3:10  error  Delete `···`  prettier/prettier

✖ 1 problem (1 error, 0 warnings)
  1 error and 0 warnings potentially fixable with the `--fix` option.

@dpinol dpinol changed the title --fix --quiet does not fix errors --quiet disables --fix Apr 29, 2021
@mantoni
Copy link
Owner

mantoni commented May 9, 2021

Interesting. Would you care to look into this and prepare a pull request?

@dpinol
Copy link
Contributor Author

dpinol commented May 10, 2021

@mantoni done #165 thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants