diff --git a/.github/workflows/hlint.yml b/.github/workflows/hlint.yml index 62d8742039..11d5445c1c 100644 --- a/.github/workflows/hlint.yml +++ b/.github/workflows/hlint.yml @@ -15,7 +15,7 @@ jobs: - name: 'Installing' uses: rwe/actions-hlint-setup@v1 with: - version: '3.5' + version: '3.6.1' - name: 'Checking code' uses: rwe/actions-hlint-run@v2 diff --git a/.hlint.yaml b/.hlint.yaml index 852b8060b0..bb2a4327ef 100644 --- a/.hlint.yaml +++ b/.hlint.yaml @@ -5,6 +5,10 @@ # To run HLint do: # $ hlint --git -j4 +# Ignore all lints in testdata directories, as they are distracting. +- ignore: { "within": '**/testdata/**' } +- ignore: { "within": '**/test/data/**' } + # Warnings currently triggered by our code - ignore: {name: "Use <$>"} - ignore: {name: "Use :"} diff --git a/plugins/hls-semantic-tokens-plugin/.hlint.yaml b/plugins/hls-semantic-tokens-plugin/.hlint.yaml deleted file mode 100644 index 072cf81614..0000000000 --- a/plugins/hls-semantic-tokens-plugin/.hlint.yaml +++ /dev/null @@ -1 +0,0 @@ -- ignore: { "within": 'test/testdata/*.hs' }