Skip to content

Commit

Permalink
Merge pull request #1488 from alphagov/erb-lint-fixes
Browse files Browse the repository at this point in the history
Fix deprecations in erb_lint
  • Loading branch information
KludgeKML authored Dec 9, 2024
2 parents e9f8b29 + 5f230dc commit 84db965
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
bundler-cache: true

- name: Run Erblint
run: bundle exec erblint --lint-all
run: bundle exec erb_lint --lint-all

lint-ruby:
name: Lint Ruby
Expand Down
4 changes: 2 additions & 2 deletions lib/tasks/lint.rake
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ desc "Run all linters"
task lint: :environment do
sh "bundle exec rubocop"
if Rails.env.development?
sh "bundle exec erblint --lint-all --autocorrect"
sh "bundle exec erb_lint --lint-all --autocorrect"
else
sh "bundle exec erblint --lint-all"
sh "bundle exec erb_lint --lint-all"
end
sh "yarn lint"
end

0 comments on commit 84db965

Please sign in to comment.