Skip to content

Commit

Permalink
HLint, don't ignore "Unused LANGUAGE pragma"
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Dec 11, 2024
1 parent e11c7a2 commit 262d482
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .hlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
- ignore: {name: "Redundant return"} # 9 hints
- ignore: {name: "Replace case with fromMaybe"} # 6 hints
- ignore: {name: "Replace case with maybe"} # 10 hints
- ignore: {name: "Unused LANGUAGE pragma"} # 168 hints
- ignore: {name: "Use $>"} # 5 hints
- ignore: {name: "Use ++"} # 4 hints
- ignore: {name: "Use :"} # 30 hints
Expand Down Expand Up @@ -96,9 +95,21 @@

- arguments:
- --ignore-glob=Cabal-syntax/src/Distribution/Fields/Lexer.hs
- --ignore-glob=cabal-testsuite/PackageTests/BuildWays/q/app/Main.hs
- --ignore-glob=cabal-testsuite/PackageTests/CmmSources/src/Demo.hs
- --ignore-glob=cabal-testsuite/PackageTests/CmmSourcesDyn/src/Demo.hs
- --ignore-glob=cabal-testsuite/PackageTests/CmmSourcesExe/src/Demo.hs
- --ignore-glob=cabal-testsuite/PackageTests/NewBuild/CmdRun/Script/script.hs
- --ignore-glob=cabal-testsuite/PackageTests/NewBuild/CmdRun/ScriptLiterate/script.lhs
- --ignore-glob=cabal-testsuite/PackageTests/Regression/T5309/lib/Bio/Character/Exportable/Class.hs
- --ignore-glob=cabal-testsuite/PackageTests/SetupHooks/SetupHooksC2HsRules/SetupHooks.hs
- --ignore-glob=cabal-testsuite/PackageTests/SetupHooks/SetupHooksDuplicateRuleId/SetupHooks.hs
- --ignore-glob=cabal-testsuite/PackageTests/SetupHooks/SetupHooksInvalidRuleOutputIndex/SetupHooks.hs
- --ignore-glob=cabal-testsuite/PackageTests/SetupHooks/SetupHooksRuleOrdering/SetupHooks.hs
- --ignore-glob=cabal-testsuite/PackageTests/SetupHooks/SetupHooksUnusedRules/SetupHooks.hs
- --ignore-glob=cabal-testsuite/PackageTests/TemplateHaskell/dynamic/TH.hs
- --ignore-glob=cabal-testsuite/PackageTests/TemplateHaskell/profiling/TH.hs
- --ignore-glob=cabal-testsuite/PackageTests/TemplateHaskell/vanilla/TH.hs
- --ignore-glob=templates/Paths_pkg.template.hs
- --ignore-glob=templates/SPDX.LicenseExceptionId.template.hs
- --ignore-glob=templates/SPDX.LicenseId.template.hs
Expand Down

0 comments on commit 262d482

Please sign in to comment.