Skip to content

Add ignoreAtRules for tailwind 4 #40

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

stevedya
Copy link
Contributor

@stevedya stevedya commented May 6, 2025

Closes #39

This PR updates our Stylelint configuration to support Tailwind CSS v4 by ignoring its custom @ rules. Without this, Stylelint incorrectly flags valid Tailwind syntax as unknown at-rules, which clutters linting output development.

Changes

Added the following to scss/at-rule-no-unknown.ignoreAtRules:

- layer
- config
- theme
- custom-variant
- plugin
- source
- variant
- utility
- reference

@stevedya stevedya requested a review from thibaudcolas May 6, 2025 23:26
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.

Tailwind 4 @rule Support
1 participant