]> git.openstreetmap.org Git - rails.git/commitdiff
Resolve erb_lint deprecations
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 27 Nov 2024 17:10:08 +0000 (17:10 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 27 Nov 2024 17:11:23 +0000 (17:11 +0000)
They have standardized on underscores. See
https://github.com/Shopify/erb_lint/pull/360

.erb_lint.yml [moved from .erb-lint.yml with 100% similarity]
.github/workflows/lint.yml

similarity index 100%
rename from .erb-lint.yml
rename to .erb_lint.yml
index 343084b0f8b6b4c52efb4e1f8887f450a7c465ff..06f6ff841bbf7c32b274beb973af64adf7f641a4 100644 (file)
@@ -36,7 +36,7 @@ jobs:
         rubygems: 3.4.10
         bundler-cache: true
     - name: Run erblint
         rubygems: 3.4.10
         bundler-cache: true
     - name: Run erblint
-      run: bundle exec erblint .
+      run: bundle exec erb_lint .
   eslint:
     name: ESLint
     runs-on: ubuntu-22.04
   eslint:
     name: ESLint
     runs-on: ubuntu-22.04