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
If a linter rule is violated, it's possible to correct the issue in certain cases.
As it stands, the linter rule API only provides a basic fix feature.
However, there's a need to implement what could be termed a 'suggestion API.' This would be particularly useful in situations where the fix is not straightforward (for example, when multiple solutions could address the same issue) or when it's potentially risky.
Thus, we will have two types of fix:
auto-fixable
suggestion
Consequently, the --fix option will only apply those corrections that are assuredly safe (auto-fixable), leaving the decision on suggestions to the user.
The text was updated successfully, but these errors were encountered:
If a linter rule is violated, it's possible to correct the issue in certain cases.
As it stands, the linter rule API only provides a basic fix feature.
However, there's a need to implement what could be termed a 'suggestion API.' This would be particularly useful in situations where the fix is not straightforward (for example, when multiple solutions could address the same issue) or when it's potentially risky.
Thus, we will have two types of fix:
Consequently, the
--fix
option will only apply those corrections that are assuredly safe (auto-fixable), leaving the decision on suggestions to the user.The text was updated successfully, but these errors were encountered: