-
Notifications
You must be signed in to change notification settings - Fork 466
[BUG] Stylelint config enforces legacy CSS notation instead of modern standards #2779
Copy link
Copy link
Closed
Labels
GSSoC-26Official GSSoC 2026 issueOfficial GSSoC 2026 issueacceptedContribution approved for integration into EaseMotion CSSContribution approved for integration into EaseMotion CSSgood first issueGood for newcomersGood for newcomersgssoc:approvedApproved for GSSoC contributionsApproved for GSSoC contributionshelp wantedExtra attention neededExtra attention neededlevel:intermediateRequires moderate project understandingRequires moderate project understandingtype:featureNew functionality or enhancementNew functionality or enhancement
Metadata
Metadata
Assignees
Labels
GSSoC-26Official GSSoC 2026 issueOfficial GSSoC 2026 issueacceptedContribution approved for integration into EaseMotion CSSContribution approved for integration into EaseMotion CSSgood first issueGood for newcomersGood for newcomersgssoc:approvedApproved for GSSoC contributionsApproved for GSSoC contributionshelp wantedExtra attention neededExtra attention neededlevel:intermediateRequires moderate project understandingRequires moderate project understandingtype:featureNew functionality or enhancementNew functionality or enhancement
🐛 What's broken?
The
.stylelintrc.jsonfile explicitly configures several rules to enforce legacy CSS syntax rather than modern web standards. Specifically,"color-function-notation": "legacy"forces the use of comma-separated color values (e.g.,rgba(0, 0, 0, 0.5)) instead of the modern, space-separated standard (rgb(0 0 0 / 50%)). Additionally,"media-feature-range-notation": "prefix"forces old-style media queries (min-width) over the newer context syntax (width >=).For a modern CSS framework, this actively prevents developers from using up-to-date CSS features and syntax.
📋 Steps to Reproduce
.stylelintrc.json."rules"object.color-function-notationandmedia-feature-range-notationare configured.✅ Expected Behavior
The framework should embrace modern CSS standards.
color-function-notationshould be set to"modern"(or removed, as "modern" is the default instylelint-config-standard), andmedia-feature-range-notationshould be updated to"context".❌ Actual Behavior
The configuration forces legacy comma-separated color functions and legacy media feature prefixes.
🔗 Reproduction
Current Structure: