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
It would be nice to have a code action to ignore a particular hlint hint from the editor.
The main complexity is that hlint's support for ignoring things is quite complex and there are multiple things that could be done:
Changes can be made either to:
The source file (add ANN/HLINT pragmas)
The .hlint.yaml (ignore files or hints)
The scope of the ignore could be different
When adding an annotation, you can target a specific definition or the entire module
When editing .hlint.yaml, you can also disable the hint entirely
Maybe we just need to provide a few code actions with a selection of these options, or make it configurable somehow. Anything that involves editing the .hlint.yaml file probably also requires #594.
The text was updated successfully, but these errors were encountered:
It would be nice to have a code action to ignore a particular hlint hint from the editor.
The main complexity is that hlint's support for ignoring things is quite complex and there are multiple things that could be done:
.hlint.yaml
(ignore files or hints).hlint.yaml
, you can also disable the hint entirelyMaybe we just need to provide a few code actions with a selection of these options, or make it configurable somehow. Anything that involves editing the
.hlint.yaml
file probably also requires #594.The text was updated successfully, but these errors were encountered: