Skip to content

Commit ccfc57b

Browse files
fendormergify[bot]michaelpjsoulomoon
authored
Don't run hlint on testdata directories (haskell#3901)
* Don't run hlint on testdata directories * Bump hlint version * Remove quotes * Ignore test data directories in .hlint.yaml --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Michael Peyton Jones <[email protected]> Co-authored-by: Patrick Wales <[email protected]>
1 parent c113a8b commit ccfc57b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/hlint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: 'Installing'
1616
uses: rwe/actions-hlint-setup@v1
1717
with:
18-
version: '3.5'
18+
version: '3.6.1'
1919

2020
- name: 'Checking code'
2121
uses: rwe/actions-hlint-run@v2

.hlint.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
# To run HLint do:
66
# $ hlint --git -j4
77

8+
# Ignore all lints in testdata directories, as they are distracting.
9+
- ignore: { "within": '**/testdata/**' }
10+
- ignore: { "within": '**/test/data/**' }
11+
812
# Warnings currently triggered by our code
913
- ignore: {name: "Use <$>"}
1014
- ignore: {name: "Use :"}

plugins/hls-semantic-tokens-plugin/.hlint.yaml

-1
This file was deleted.

0 commit comments

Comments
 (0)