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

add enforce-css-module-default-import rule #266

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

keithamus
Copy link
Member

Closes https://github.com/github/primer/issues/4355, https://github.com/github/primer/issues/4356

This adds a lint rule which enforces CSS modules be imported a certain way - with default imports, instead of named, and the default name must match a certain pattern.

@keithamus keithamus requested a review from a team as a code owner October 25, 2024 17:48
Copy link

changeset-bot bot commented Oct 25, 2024

🦋 Changeset detected

Latest commit: 693b951

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-plugin-primer-react Minor

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

@keithamus keithamus merged commit 90134bc into main Oct 28, 2024
8 checks passed
@keithamus keithamus deleted the add-enforce-css-module-default-import-rule branch October 28, 2024 20:44
@primer-css primer-css mentioned this pull request Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants