-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
CI: Update ESLint Config #5722
CI: Update ESLint Config #5722
Conversation
the es lint upgrade changed the way eslint config file is declared. we had to rename and migrate config options to the new configuration system
@loicginoux nice! Thanks. I just disabled the new config in #5721 but this is probably better because its future proof :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, but we should not pretend to be a npm package. We just use the package.json
for dependency management for ESLint (and maybe other JS tools), but never will publish Solidus as NPM package 😆
It seems there is more involved. Maybe we merge #5721 first and then continue the work here? |
I'll continue exploring the CI environment, I guess it's just a missing |
npm install is needed to run the lint:js rake task
220a0d4
to
2f7a74e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5722 +/- ##
=======================================
Coverage 88.94% 88.94%
=======================================
Files 702 702
Lines 16698 16698
=======================================
Hits 14852 14852
Misses 1846 1846 ☔ View full report in Codecov by Sentry. |
It looks good now @tvdeyen, I can squash commits if requested. |
I merged #5721 now. I am not sure we want this change as this means we need to maintain a |
I understand, fair point... I leave you close the issue if you think this problem is solved. |
@solidusio/core-team wdyt? |
I like the completeness of this solution, but considering that ESlint is a very very small part of this project, I'd avoid any maintenance effort for the plugin. I'd probably rather remove it and try to use something else. I think that for now the solution @tvdeyen proposed is enough, but I'd keep this as a reference if we want to change idea later. Thanks, @loicginoux and @tvdeyen ! |
Thanks for working on this @loicginoux but i agree with @kennyadsl and am closing this for now. Again, thanks for investing and contributing. |
Summary
the es lint upgrade changed the way eslint config file is declared. we had to rename and migrate config options to the new configuration system
Checklist
Check out our PR guidelines for more details.
The following are mandatory for all PRs:
The following are not always needed: