Closed michalkolek closed 3 years ago
@nichalko did you configure eslint as the formatter to use? I check the repository and it has not .vscode/settings.json
file.
If yes, does the validation / fixing happen correctly when you use eslint in the terminal using the --fix
option?.
@dbaeumer I did configure it. Please see latest commit. Also please see below picture, when --fix
option does not pick up incorrect spacing.
Also, both vsocde and your extension are latest versions.
If running eslint in the terminal with --fx
does not pick up incorrect spacing as well then this is a configuration issue with ESLint itself and has nothing to do with the extension. Can you please try to make eslint in the terminal work as expected and when it then doesn't work in the ESLint extension come back here. You might consider asking questions on stack overflow in the ESLint group.
Hi,
I started fresh with a clean set of extensions and settings, but I can't get ESLint extension to format white spaces.
Gif:
Repo to reproduce: https://github.com/nichalko/eslint-vscode-issue