You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As salt-lint is able to detect mistakes it would to nice if it is able to provide a (simple) fix for each of the rules. If a quick-fix is provided by the rule it can be added as optional output in the formatters. When salt-lint is able to suggest quick-fixes it could also provide a command line flag to automatically apply them.
Some editors (e.g. vscode using warpnet/vscode-salt-lint), are able to apply quick fixes to the code with a simple click on the suggestion.
The text was updated successfully, but these errors were encountered:
Does anyone have information on what it would take to implement this, i.e. in what way this information is actually supposed to be implemented and communicated to editors and their extensions? From some quick research, Vim doesn't seem to support quickfix actions, and VSCode doesn't really describe where a quickfix action is supposed to come from / if there is a spec for it.
As
salt-lint
is able to detect mistakes it would to nice if it is able to provide a (simple) fix for each of the rules. If a quick-fix is provided by the rule it can be added as optional output in the formatters. Whensalt-lint
is able to suggest quick-fixes it could also provide a command line flag to automatically apply them.Some editors (e.g. vscode using warpnet/vscode-salt-lint), are able to apply quick fixes to the code with a simple click on the suggestion.
The text was updated successfully, but these errors were encountered: