haskell / haskell/haskell-language-server

Add code action to suppress specific hlint warnings

Open
#600 7 comments 13 reactions 0 assignees View on GitHub
component: hls-hlint-plugin Hackathon level: easy type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

I'm using VSCode + HLS 0.6.0.

I'd like to permanently disable certain hlint suggestions, such as the "Suggestion: Use camelCase" on ADTs. On a per-project basis, if possible.

It would be nice if there was an extra code action to disable the specific hlint. So we would see the list as:

- Apply hint: ...
- Apply all hints
- Ignore this hint: ...

If the user selects "Ignore this hint", then the project's `.hlint.yaml` would be updated accordingly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.