-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What rule do you want to change?
use-baseline
What change do you want to make?
Generate more warnings
How do you think the change should be implemented?
A new default behavior
Example code
/* svh became baseline in 2022 */
a { height: 100svh; }
/* dvh became baseline in 2022 */
a { height: 100dvh; }
/* cqw became baseline in 2023 */
a { height: 10cqw; }What does the rule currently do for this code?
No warnings are reported.
What will the rule do after it's changed?
The rule will warn when a CSS unit is not a baseline feature at the configured availability level, with @supports guard and allowUnits option support.
Participation
- I am willing to submit a pull request to implement this change.
AI acknowledgment
- I did not use AI to generate this issue report.
- (If the above is not checked) I have reviewed the AI-generated content before submitting.
Additional comments
This feature was implemented in ryo-manba/stylelint-plugin-use-baseline#112.
Related issue: ryo-manba/stylelint-plugin-use-baseline#111.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Needs Triage