summaryrefslogtreecommitdiff
path: root/Biz/Lint.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-02-19 10:06:56 -0500
committerBen Sima <ben@bsima.me>2021-02-19 10:06:56 -0500
commit64c5858f7bc01fa9c0e0bc5726066ce6167bea81 (patch)
tree85d8ee6ce02679c26bf1e59134eb5e88d9c5b272 /Biz/Lint.hs
parentc78119b0547cd9ef266db04a91a4d0e5be8340a8 (diff)
Add support for hlint --refactor
Diffstat (limited to 'Biz/Lint.hs')
-rw-r--r--Biz/Lint.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Biz/Lint.hs b/Biz/Lint.hs
index 17edb37..3039b72 100644
--- a/Biz/Lint.hs
+++ b/Biz/Lint.hs
@@ -117,7 +117,7 @@ hlint =
Linter
{ exe = "hlint",
args = [],
- fixArgs = Nothing
+ fixArgs = Just ["--refactor", "--refactor-options=-i"]
}
pylint :: Linter