-
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
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: 9.31.0
@eslint/css version: 0.10.0
Node version: 24.4.0
npm version: 11.4.2
Operating System: macOS 15.5 (24F74)
Which language are you using?
stylesheet
What did you do?
Configuration
css/no-invalid-properties: ["error"]
/* eslint css/no-invalid-properties: ["error"] */
.test {
color: var(--myColor);
}
:root {
--myColor: blue;
}
What did you expect to happen?
No error as the definition of variable --myColor should be hoisted.
What actually happened?
Can't validate with unknown variable '--myColor'
Link to Minimal Reproducible Example
none
Participation
- I am willing to submit a pull request for this issue.
Additional comments
No response
onx2onx2
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
Blocked