ndmitchell/hlint

Support restricting a function in certain modules

Open

#1,392 创建于 2022年7月2日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)Haskell (1,594 star) (208 fork)batch import
good first issue

描述

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.

贡献者指南

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