diff options
author | Phil de Joux <philderbeast@gmail.com> | 2022-07-16 16:54:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-16 20:54:26 +0000 |
commit | 06b1f629a9210f9d92dea1cc6111087181c688ff (patch) | |
tree | 58a2954b1c30b1f00cf30d9685fec71a55f2fbc4 | |
parent | 677884577dee1cb51772d9bc21cc69f11f48af34 (diff) |
Bump hlint version to 3.4.1, the version with counts. (#1503)
Redo the counts available with the --default option.
-rw-r--r-- | .github/workflows/hlint-ci.yml | 2 | ||||
-rw-r--r-- | .hlint.yaml | 11 |
2 files changed, 6 insertions, 7 deletions
diff --git a/.github/workflows/hlint-ci.yml b/.github/workflows/hlint-ci.yml index 692d03e8..7009e739 100644 --- a/.github/workflows/hlint-ci.yml +++ b/.github/workflows/hlint-ci.yml @@ -17,7 +17,7 @@ jobs: - uses: rwe/actions-hlint-setup@v1 name: Set up HLint with: - version: "3.3.6" + version: "3.4.1" - uses: rwe/actions-hlint-run@v2 name: hlint diff --git a/.hlint.yaml b/.hlint.yaml index 5c50629f..ea61bf90 100644 --- a/.hlint.yaml +++ b/.hlint.yaml @@ -20,10 +20,10 @@ - ignore: {name: "Redundant return"} # 1 hint - ignore: {name: "Replace case with fromMaybe"} # 2 hints - ignore: {name: "Replace case with maybe"} # 4 hints -- ignore: {name: "Unused LANGUAGE pragma"} # 10 hints +- ignore: {name: "Unused LANGUAGE pragma"} # 11 hints - ignore: {name: "Use $>"} # 4 hints - ignore: {name: "Use ++"} # 3 hints -- ignore: {name: "Use :"} # 3 hints +- ignore: {name: "Use :"} # 4 hints - ignore: {name: "Use <$>"} # 12 hints - ignore: {name: "Use <&>"} # 1 hint - ignore: {name: "Use <|>"} # 1 hint @@ -34,12 +34,11 @@ - ignore: {name: "Use concatMap"} # 1 hint - ignore: {name: "Use const"} # 4 hints - ignore: {name: "Use fewer LANGUAGE pragmas"} # 1 hint -- ignore: {name: "Use fewer imports"} # 1 hint - ignore: {name: "Use find"} # 1 hint - ignore: {name: "Use fmap"} # 12 hints - ignore: {name: "Use foldr"} # 1 hint - ignore: {name: "Use fromMaybe"} # 2 hints -- ignore: {name: "Use infix"} # 2 hints +- ignore: {name: "Use infix"} # 3 hints - ignore: {name: "Use intercalate"} # 1 hint - ignore: {name: "Use isAsciiLower"} # 1 hint - ignore: {name: "Use isAsciiUpper"} # 1 hint @@ -54,11 +53,11 @@ - ignore: {name: "Use notElem"} # 2 hints - ignore: {name: "Use print"} # 3 hints - ignore: {name: "Use record patterns"} # 5 hints +- ignore: {name: "Use second"} # 3 hints - ignore: {name: "Use sortOn"} # 3 hints -- ignore: {name: "Use tuple-section"} # 2 hints +- ignore: {name: "Use tuple-section"} # 3 hints - ignore: {name: "Use unless"} # 1 hint - ignore: {name: "Use void"} # 1 hint -- ignore: {name: "Use second"} # 3 hints # Module names (not all unique) where CPP can be used - extensions: - name: CPP |