Skip to content

Commit

Permalink
Remove per-module hlint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
carbolymer committed Apr 10, 2024
1 parent 52d9a38 commit 5045de3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-hlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:

jobs:
build:
run-hlint:
runs-on: ubuntu-latest

defaults:
Expand Down
1 change: 1 addition & 0 deletions .hlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
# Ignore some builtin hints
# - ignore: {name: Use let}
# - ignore: {name: Use const, within: SpecialModule} # Only within certain modules
# - ignore: {name: Use camelCase, within: Test} # Only within certain modules


# Define some custom infix operators
Expand Down
2 changes: 0 additions & 2 deletions cardano-api/test/cardano-api-test/Test/Cardano/Api/Json.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ import qualified Hedgehog as H
import Test.Tasty (TestTree, testGroup)
import Test.Tasty.Hedgehog (testProperty)

{- HLINT ignore "Use camelCase" -}

prop_json_roundtrip_alonzo_genesis :: Property
prop_json_roundtrip_alonzo_genesis = H.property $ do
genesis <- forAll genAlonzoGenesis
Expand Down

0 comments on commit 5045de3

Please sign in to comment.