mirror of
https://github.com/github/semantic.git
synced 2024-12-24 15:35:14 +03:00
Blacklist unsafePerformIO & unsafeCoerce by default.
This commit is contained in:
parent
4099b3ec4d
commit
e3ae8cae89
@ -2,3 +2,8 @@
|
||||
# https://github.com/ndmitchell/hlint
|
||||
|
||||
- arguments: [--color=auto, -XDataKinds, -XDeriveFoldable, -XDeriveFunctor, -XDeriveGeneric, -XDeriveTraversable, -XFlexibleContexts, -XFlexibleInstances, -XMultiParamTypeClasses, -XOverloadedStrings, -XRecordWildCards, -XStandaloneDeriving, -XStrictData, -XTypeApplications]
|
||||
|
||||
# Blacklist some functions by default.
|
||||
- functions:
|
||||
- {name: unsafePerformIO, within: [Data.Scientific.Exts]} # unsafePerformIO has to be explicitly whitelisted
|
||||
- {name: unsafeCoerce, within: []} # unsafeCoerce has to be explicitly whitelisted
|
||||
|
Loading…
Reference in New Issue
Block a user