ndmitchell/hlint

Support restricting a function in certain modules

Open

#1,392 opened on Jul 2, 2022

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Haskell (1,594 stars) (208 forks)batch import
good first issue

Description

It's possible to restrict a function in all modules except certain modules:

- functions:
  - {name: [fromIntegral], within: 'modules_where_fromIntegral_is_ok'}

But it doesn't seem possible to restrict a function only in certain modules. This would be a useful feature to add.

Contributor guide

Support restricting a function in certain modules · ndmitchell/hlint#1392 | Good First Issue