forked from simonmichael/hledger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHLint.hs
More file actions
23 lines (17 loc) · 827 Bytes
/
HLint.hs
File metadata and controls
23 lines (17 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{-
hlint configuration for hledger
https://github.com/ndmitchell/hlint#readme
https://github.com/ndmitchell/hlint/issues/256
Examples:
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
ignore "Use camelCase" = ""
ignore "Redundant do" = ""