FixAll in folder is unreliable for fix all provided by the TSLint extension
mjbvz opened this issue · comments
Matt Bierner commented
Bug
- Using https://github.com/Microsoft/typescript-tslint-plugin/
- Create a tslint error in multiple files
- Make sure files are not open in VS Code
- Try applying
fix all in folder
Bug
Sometimes it works for a file and sometimes not.
The root cause is tslint's weird implementation of fix all
. It requires up to date diagnostics in the file, but if we freshly open the file the diagnostics will not yet be populated