Open parsonsmatt opened 2 months ago
We want to gradually become consistent with our naming of Data.List.NonEmpty, so we create an hlint rule:
Data.List.NonEmpty
hlint
- modules: - name: [Data.List.NonEmpty] as: NE
I run hlint on our codebase to get all the currently failing examples, and I create a within to ignore them:
within
- modules: - name: [Data.List.NonEmpty] as: NE within: [ ... ]
But now it starts complaining about importing Data.List.NonEmpty at all. It seems like within is causing it to ignore the as: key.
as:
We want to gradually become consistent with our naming of
Data.List.NonEmpty
, so we create anhlint
rule:I run
hlint
on our codebase to get all the currently failing examples, and I create awithin
to ignore them:But now it starts complaining about importing
Data.List.NonEmpty
at all. It seems likewithin
is causing it to ignore theas:
key.