Environment
Node version: v24.15.0
npm version: v11.12.1
ESLint version: v10.8.0
Operating System: Mac
What did you do?
I tried to lint a CSS file with below content with ESLint (@eslint/css):
/* parses */
@container style(background-color: blue) {
}
/* does NOT parse */
@container style(--foo) {
color: red;
}
What did you expect to happen?
ESLint can parse and lint it.
What actually happened?
Parse error:
/private/tmp/eslint-test/test.css
6:23 error Parsing error: Colon is expected
7:9 error Parsing error: Identifier is expected
8:1 error Parsing error: "{" is expected
Link to Minimal Reproducible Example
https://stackblitz.com/edit/stackblitz-starters-zgmoopby?file=test.css
Participation
AI acknowledgment
Additional comments
Sorry if this should have been opened as a change request rather than a bug. 💖
Environment
Node version: v24.15.0
npm version: v11.12.1
ESLint version: v10.8.0
Operating System: Mac
What did you do?
I tried to lint a CSS file with below content with ESLint (
@eslint/css):What did you expect to happen?
ESLint can parse and lint it.
What actually happened?
Parse error:
Link to Minimal Reproducible Example
https://stackblitz.com/edit/stackblitz-starters-zgmoopby?file=test.css
Participation
AI acknowledgment
Additional comments
Sorry if this should have been opened as a change request rather than a bug. 💖