1
1
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:
Rob Rix 2018-06-19 09:15:07 -04:00
parent 4099b3ec4d
commit e3ae8cae89

View File

@ -2,3 +2,8 @@
# https://github.com/ndmitchell/hlint # https://github.com/ndmitchell/hlint
- arguments: [--color=auto, -XDataKinds, -XDeriveFoldable, -XDeriveFunctor, -XDeriveGeneric, -XDeriveTraversable, -XFlexibleContexts, -XFlexibleInstances, -XMultiParamTypeClasses, -XOverloadedStrings, -XRecordWildCards, -XStandaloneDeriving, -XStrictData, -XTypeApplications] - 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