Description
Thank you for very much @inclyc for this fantastic project!
Is your feature request related to a problem? Please describe.
Recently I noticed issue 525 since I had a similar problem. My Nix code shows a lot of sema-def-not-used
which sometimes is an issue and sometimes it is deliberate:
map ({this, should, be, there}:
"${toString this}:${toString there}")
[{this = 1; should = 1; be = 1; there = 1;}]
Describe the solution you'd like
It would be handy to add a dictionary with all definitions (keys) and with severity (value) that could be changed by a user.
Describe alternatives you've considered
Warning sema-def-not-used
seems to be the only warning that in some cases is wrong and therefore the easiest solution would be to change severity from warning to informational (blue squiggly line). That means forgotten bindings would be easy to locate within the code but wouldn't be too glaring.
Activity