Bug: single run mode ignores the debugLevel flag #5887
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
package: typescript-estree
Issues related to @typescript-eslint/typescript-estree
Uh oh!
There was an error while loading. Please reload this page.
Before You File a Bug Report Please Confirm You Have Done The Following...
In normal type-aware mode we pass a special set of compiler options to our program which allows us to turn on TS debug logging.
Call:
https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-estree/src/create-program/createWatchProgram.ts#L265
Utility:
https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-estree/src/create-program/shared.ts#L36-L47
But in single run mode we don't use our util, so we don't turn on debug logging when we should:
https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-estree/src/create-program/useProvidedPrograms.ts#L66
ESLint Config
The text was updated successfully, but these errors were encountered: