Skip to content

Fix linting#6420

Open
AlistairNorman wants to merge 2 commits intosolidusio:mainfrom
SuperGoodSoft:fix-linting
Open

Fix linting#6420
AlistairNorman wants to merge 2 commits intosolidusio:mainfrom
SuperGoodSoft:fix-linting

Conversation

@AlistairNorman
Copy link
Contributor

Summary

Rubocop and eslint linting were both erroring. Running Rubocop and migrating to a new kind of config file fixed these issues.

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.

Co-Authored-By: Jared Norman <jared@super.gd>
Co-Authored-By: Chris Todorov <chris@super.gd>
Co-Authored-By: Senem Soy <senem@super.gd>
Co-Authored-By: Adam Mueller <adam@super.gd>
Co-Authored-By: Noah Silvera <noah@super.gd>
@github-actions github-actions bot added changelog:solidus_api Changes to the solidus_api gem changelog:solidus_core Changes to the solidus_core gem changelog:solidus_admin changelog:solidus_promotions Changes to the solidus_promotions gem labels Feb 26, 2026
This is the new config format as of eslint 10.

Co-Authored-By: Adam Mueller <adam@super.gd>
Co-Authored-By: Jared Norman <jared@super.gd>
Co-Authored-By: Chris Todorov <chris@super.gd>
Co-Authored-By: Senem Soy <senem@super.gd>
Co-Authored-By: Noah Silvera <noah@super.gd>
@AlistairNorman AlistairNorman marked this pull request as ready for review February 26, 2026 19:29
@AlistairNorman AlistairNorman requested a review from a team as a code owner February 26, 2026 19:29
@codecov
Copy link

codecov bot commented Feb 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.50%. Comparing base (b2b3f2e) to head (99ed261).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6420   +/-   ##
=======================================
  Coverage   89.50%   89.50%           
=======================================
  Files         981      981           
  Lines       20479    20479           
=======================================
  Hits        18330    18330           
  Misses       2149     2149           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:solidus_admin changelog:solidus_api Changes to the solidus_api gem changelog:solidus_core Changes to the solidus_core gem changelog:solidus_promotions Changes to the solidus_promotions gem

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant