diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3234ddff..4143675f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,7 +39,7 @@ jobs: - name: Run linter run: bundle exec haml-lint app/views/ unit: - needs: linter + needs: [linter, haml-linter] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -50,7 +50,7 @@ jobs: - name: Run unit tests run: bundle exec rake test system: - needs: linter + needs: [linter, haml-linter] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.haml-lint.yml b/.haml-lint.yml index 6704fe70..d8a9354e 100644 --- a/.haml-lint.yml +++ b/.haml-lint.yml @@ -1,3 +1,4 @@ +inherits_from: .haml-lint_todo.yml linters: MultilinePipe: enabled: false diff --git a/.haml-lint_todo.yml b/.haml-lint_todo.yml new file mode 100644 index 00000000..a0edd092 --- /dev/null +++ b/.haml-lint_todo.yml @@ -0,0 +1,7 @@ +# This configuration was generated by +# `haml-lint --auto-gen-config` +# on 2023-11-08 15:22:15 +0000 using Haml-Lint version 0.40.1. +# The point is for the user to remove these configuration records +# one by one as the lints are removed from the code base. +# Note that changes in the inspected code, or installation of new +# versions of Haml-Lint, may require this file to be generated again.