mirror of
https://github.com/github/semantic.git
synced 2024-11-27 12:57:49 +03:00
16 lines
745 B
YAML
16 lines
745 B
YAML
# HLint configuration file
|
|
# 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
|
|
|
|
# Replace a $ b $ c with a . b $ c
|
|
- group: {name: dollar, enabled: true}
|
|
|
|
# Generalise map to fmap, ++ to <>
|
|
- group: {name: generalise, enabled: true}
|