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

Fix issues raised by ERB and JS linting #5457

Merged
merged 7 commits into from
Oct 25, 2023
Merged

Conversation

elia
Copy link
Member

@elia elia commented Oct 25, 2023

Summary

We used to rely on the now abandoned hound service for linting, this PR restores checks on JS and ERB.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

- update the ECMAScript version used
- add proper ignore patterns
- switch to the recommended ruleset which doesn't require
  additional packages
@elia elia self-assigned this Oct 25, 2023
@github-actions github-actions bot added changelog:solidus_backend Changes to the solidus_backend gem changelog:solidus_core Changes to the solidus_core gem changelog:repository Changes to the repository not within any gem changelog:solidus_admin labels Oct 25, 2023
@elia elia force-pushed the elia/restore-eslint-checks branch from d3c608b to 8c44f6e Compare October 25, 2023 10:30
@elia elia mentioned this pull request Oct 25, 2023
3 tasks
@elia elia force-pushed the elia/restore-eslint-checks branch from 8c44f6e to 9a90dcd Compare October 25, 2023 10:39
@elia elia force-pushed the elia/restore-eslint-checks branch from 9a90dcd to c450edb Compare October 25, 2023 11:47
@elia elia marked this pull request as ready for review October 25, 2023 11:54
@elia elia requested a review from a team as a code owner October 25, 2023 11:54
@elia elia requested a review from rainerdema October 25, 2023 11:55
@codecov
Copy link

codecov bot commented Oct 25, 2023

Codecov Report

Merging #5457 (99a687f) into main (d479d6a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #5457   +/-   ##
=======================================
  Coverage   88.91%   88.91%           
=======================================
  Files         614      614           
  Lines       14829    14829           
=======================================
  Hits        13185    13185           
  Misses       1644     1644           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Gemfile Outdated Show resolved Hide resolved
Those two groups are useful in order to get quick bundle install times
when the CI or GH action need to run a task only related to those gems.
@elia elia force-pushed the elia/restore-eslint-checks branch from c450edb to 03fd580 Compare October 25, 2023 15:18
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@elia elia merged commit c068fd5 into main Oct 25, 2023
10 checks passed
@elia elia deleted the elia/restore-eslint-checks branch October 25, 2023 15:49
@elia elia changed the title Restore ERB and JS linting Fix issues raised by ERB and JS linting Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:repository Changes to the repository not within any gem changelog:solidus_admin changelog:solidus_backend Changes to the solidus_backend gem changelog:solidus_core Changes to the solidus_core gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants