Revision 5b11f8db htools/lint-hints.hs
b/htools/lint-hints.hs | ||
---|---|---|
1 |
{- Custom hint lints for Ganeti. |
|
1 |
{-| Custom hint lints for Ganeti.
|
|
2 | 2 |
|
3 |
Since passing --hint to hlint will override, not extend the built-in hints, we need to import the existing hints so that we get full coverage. |
|
3 |
Since passing --hint to hlint will override, not extend the built-in |
|
4 |
hints, we need to import the existing hints so that we get full |
|
5 |
coverage. |
|
4 | 6 |
|
5 | 7 |
-} |
6 | 8 |
|
7 |
import "hint" HLint.Default
|
|
9 |
import "hint" HLint.HLint
|
|
8 | 10 |
import "hint" HLint.Dollar |
9 | 11 |
|
10 | 12 |
-- The following two hints warn to simplify e.g. "map (\v -> (v, |
Also available in: Unified diff