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
Additional comments
No response