hlint icon indicating copy to clipboard operation
hlint copied to clipboard

`use camel case` emits *two* hints

Open MangoIV opened this issue 2 years ago • 1 comments

Currently hlint emits two hints for something like

mk_meth_spec_prags :: ....
mk_meth_spec_prags = ...

both on the type and the method itself. I think it should only emit one hint.

MangoIV avatar Jul 04 '23 09:07 MangoIV

That makes a lot of sense. I think the camel case hint should probably accumulate the hints it issues into a Map and never emit the same hint twice.

ndmitchell avatar Jan 15 '24 19:01 ndmitchell