-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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(eslint-config-carbon
): move best-practices.js
back to cjs module export
#18377
fix(eslint-config-carbon
): move best-practices.js
back to cjs module export
#18377
Conversation
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
db34222
to
3ddc41b
Compare
best-practices.js
back to cjs module exporteslint-config-carbon
): move best-practices.js
back to cjs module export
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #18377 +/- ##
=======================================
Coverage 84.17% 84.17%
=======================================
Files 408 408
Lines 14435 14435
Branches 4660 4694 +34
=======================================
Hits 12150 12150
Misses 2120 2120
Partials 165 165 ☔ View full report in Codecov by Sentry. |
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.
I bet this was an errant "find all and replace" because one of the stylelint rules was updated to export default
in that PR as part of the stylelint v16 overhaul.
f53c551
Closes #18305
The export in
eslint-config-carbon/rules/best-practices.js
was changed here toexport default {}
but no other file in the package or the package.json for this package was changed to ESM.This should address the errors we're seeing in #18305 and allow
ibm-products
to move to eslint v9.Changelog
Changed
config/eslint-config-carbon/rules/best-practices.js
Testing / Reviewing
Will verify PR checks in this PR