Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Fix Erblint deprecations #4923

Merged
merged 1 commit into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -34,7 +34,7 @@ jobs:
- name: Run linters
run: |
bin/rubocop --parallel
bin/erblint --lint-all
bin/erb_lint --lint-all
yarn run lint
yarn run stylelint

Expand Down
4 changes: 2 additions & 2 deletions bin/erblint → bin/erb_lint
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# This file was generated by Bundler.
#
# The application 'erblint' is installed as part of a gem, and
# The application 'erb_lint' is installed as part of a gem, and
# this file is here to facilitate running it.
#

Expand All @@ -24,4 +24,4 @@ end
require "rubygems"
require "bundler/setup"

load Gem.bin_path("erb_lint", "erblint")
load Gem.bin_path("erb_lint", "erb_lint")
2 changes: 1 addition & 1 deletion bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ puts 'Rubocop:'
results['Rubocop'] = system 'bin/rubocop'

puts 'Erblint:'
results['Erblint'] = system 'bin/erblint --lint-all'
results['Erblint'] = system 'bin/erb_lint --lint-all'

puts 'Standard JS:'
results['Standard'] = system 'yarn lint'
Expand Down
Loading