🐛 Bug: Type snapshots can't infer ESLint fix mode without a process.argv --fix #115
Open
3 tasks done
Labels
status: blocked on external API
Waiting for an external dependency...
type: bug
Something isn't working :( 🐛
Bug Report Checklist
main
branch of the repository.Expected
As originally reported by #14: type snapshots should update if ESLint is run in
--fix
mode. For a while they were always being updated (unlessdisableExpectTypeSnapshotFix
was enabled).Actual
As of #113, type snapshots are only updated if
process.argv.includes('--fix')
. That doesn't account for programmatic usage of ESLint's Node.js API such as from an editor extension.Additional Info
No response
The text was updated successfully, but these errors were encountered: