-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionbugSomething isn't workingSomething isn't working
Description
Environment
ESLint version:
@eslint/css version: latest
Node version: latest
npm version: latest
Operating System: windows
Which language are you using?
stylesheet
What did you do?
/* eslint css/no-invalid-properties: ["error"] */
:root {
--my-color: red;
}
a {
color: var(--my-color, red);
}
.two {
color: var(--my-color, var(--my-background, pink));
}
What did you expect to happen?
No error as variable --my-color
is defined already.
What actually happened?
Unknown property 'color' found css/no-invalid-properties
Link to Minimal Reproducible Example
none
Participation
- I am willing to submit a pull request for this issue.
Additional comments
No response
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionbugSomething isn't workingSomething isn't working
Type
Projects
Status
Complete