on master help sign in
Merge pull request #3232 from jfdm/hlint-hints

Updated custom HLint specification.

commit5c29e7f03f356bf9d7b0b861a1cb0b744578f1d9 authorJan de Muijnck-Hughes <jfdm@users.noreply.github.com> dateMon 20 Jun 2016, 11:32 (10 years ago) parent005ee749232c33
1 file changed+32−2
HLint.hs+32−2
HLint.hs+32−2
@@ -1,3 +1,33 @@
1−-- HLint File
1+-- --------------------------------------------------------------- [ HLint.hs ]
2+-- HLint suggestions we like.
3+--
4+-- This is a work in progress and the list of
5+-- suggestions/warnings/errors will vary.
6+--
7+-- -------------------------------------------------------------------- [ EOH ]
28
3−import "hint" HLint.HLint
9+-- import "hint" HLint.HLint -- In case we want to use all of them.
10+
11+-- ------------------------------------------------------------ [ Suggestions ]
12+-- Styling that are good Suggestions but are okay if found.
13+
14+suggest "Use exitSuccess"
15+suggest "Use concatMap"
16+suggest "Use unwords"
17+suggest "Use null"
18+suggest "Redundant $"
19+suggest "Use list literal pattern"
20+suggest "Use list literal"
21+
22+-- ------------------------------------------------------------------- [ Warn ]
23+-- Styling that we think a programmer should be warned about using.
24+
25+
26+-- ------------------------------------------------------------------ [ Error ]
27+-- Styling that we think a programmer should not use at all.
28+
29+
30+-- ----------------------------------------------------------------- [ Ignore ]
31+-- Suggestions we want to ignore.
32+
33+-- -------------------------------------------------------------------- [ EOF ]