feat(linter): Support potentially dangerous fixes behind a --fix-dangerously
flag
#4211
Labels
A-linter
Area - Linter
C-enhancement
Category - New feature or request
E-Help Wanted
Experience level - For the experienced collaborators
Some problems are potentially auto fixable, but doing so may be undesireable. In some cases, it could produce incorrect code. In other cases, it could change the behavior of applications.
ESLint handles this with Rule Suggestions, which are made available to language servers but do not get applied via
--fix
.Since the linter is mostly used as a CLI (oxlint), we need to support applying suggestions there too. I think we should do this with a
--fix-dangerously
flag.Tasks
FIx
to support suggestions--fix-dangerously
flagThe text was updated successfully, but these errors were encountered: