-
Notifications
You must be signed in to change notification settings - Fork 22
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
Upgrade to latest stylelint 16 and make esm the default module format #397
Conversation
🦋 Changeset detectedLatest commit: 4e9e74c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Changes look good from the CommonJS -> ESM perspective! Let me know when you want an official review once this is ready to review 👀 I think the only thing that could come up is around subpath imports (or requires) and if that changes with this update. |
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.
Let's goooo 💪 nice work
This PR's goal is to update to the latest version of Stylelint.
In order to do this, it requires that we upgrade the package to using ESModules. This needed a bit of rewriting happening in some of the plugins. The majority of changes were needed in how we import in each plugin. To do so without breaking backwards compatibility we introduced
rollup
to include.cjs
common js imports.There was also an upgrade of
eslint
needed to support the new formats.