Open pfoedermayr opened 2 days ago
@pfoedermayr could you please provide me with a GitHub repository I can clone. That ensure we are using the identical setup when I try to reproduce this.
Hope this helps, let me know if I should change something or if you need anything else
When a file with one or more
eslint-disable
comments is saved while there are other lint errors present the comments are automatically removed. I was able to reproduce it with a fresh project with just eslint and a javascript file. Only the extensiondbaeumer.vscode-eslint
in version3.0.10
being enabled in VSCode.eslint.config.mjs
.vscode/settings.json
When I save a file that looks like this for example
it results in:
Running just
ESLint: Fix all auto-fixable Problems
does fix the lint error in line 4 and keeps theeslint-disable
comment in line 1.