Bug: eslint-disable is automatically removed #11031
Labels
bug
Something isn't working
locked due to age
Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
triage
Waiting for team members to take a look
Before You File a Bug Report Please Confirm You Have Done The Following...
Issue Description
I have to integrate some new API that are not yet typed. Somehow when I use disable, whether whole file or next line, the disable comments are removed completely.
No edit is made to eslint & ts config.
After some reading, I think
codeActionsOnSave
could be related. Here's my setup:Reproduction Repository Link
https://github.com/nvmnghia/test-tslint
Repro Steps
yarn install
getDataPoolBC()
map()
, or any lineMy VS Code is configured with format on save, but I don't think formatting is the problem.
Versions
@typescript-eslint/eslint-plugin
8.29.0
@typescript-eslint/parser
8.29.0
@typescript-eslint/scope-manager
8.29.0
@typescript-eslint/typescript-estree
8.29.0
@typescript-eslint/type-utils
8.29.0
@typescript-eslint/utils
8.29.0
TypeScript
5.8.2
ESLint
9.23.0
node
22.14.0
The text was updated successfully, but these errors were encountered: