Skip to content

Commit 3111617

Browse files
committed
Use the .hlint.yaml to enable additional hints, rather than travis.hs
1 parent 93b3d33 commit 3111617

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Diff for: .hlint.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44

55
# Hints that apply only to the HLint source code
66

7+
#####################################################################
8+
## GROUPS OF HINTS WE TURN ON
9+
10+
- group: {name: future, enabled: true}
11+
- group: {name: extra, enabled: true}
12+
13+
714
#####################################################################
815
## RESTRICTIONS
916

Diff for: travis.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ main :: IO ()
77
main = do
88
system_ "hlint --generate-summary"
99
system_ "hlint --test +RTS -K512K"
10-
(time,_) <- duration $ system_ "hlint src --with-group=extra --with-group=future" -- "UNIPLATE_VERBOSE=-1 hlint src +RTS -K1K"
10+
(time,_) <- duration $ system_ "hlint src" -- "UNIPLATE_VERBOSE=-1 hlint src +RTS -K1K"
1111
putStrLn $ "Running HLint on self took " ++ showDuration time

0 commit comments

Comments
 (0)