hledger/HLint.hs

24 lines
827 B
Haskell
Raw Normal View History

2009-09-23 21:56:15 +04:00
{-
hlint configuration for hledger
https://github.com/ndmitchell/hlint#readme
https://github.com/ndmitchell/hlint/issues/256
2009-09-23 21:56:15 +04:00
Examples:
2009-09-23 21:56:15 +04:00
ignore "Eta reduce" = "" - suppress all eta reduction suggestions.
ignore "Eta reduce" = Data.List Prelude - suppress eta reduction hints in the Prelude and Data.List modules.
ignore = Data.List.map - don't give any hints in the function Data.List.map.
error = Data.List.map - any hint in the function is an error.
error "Use concatMap" = "" - the hint to use concatMap is an error.
warn "Use concatMap" = "" - the hint to use concatMap is a warning.
-}
{-# PackageImports #-}
import "hlint" HLint.Builtin.All
-- import "hlint" HLint.Default
2009-09-23 22:06:28 +04:00
ignore "Use camelCase" = ""
ignore "Redundant do" = ""