Environment
ESLint version: Latest (Possible to include the version on the Code Explorer?)
@eslint/css version: Latest (Possible to include the version on the Code Explorer?)
Node version: N/A
npm version: N/A
Operating System: mac
What problem do you want to solve?
PostCSS is an extremely popular enhancement over CSS. However, since this plugin only seems to support strict CSS syntax, it cannot be leveraged.
For example, when using https://github.com/postcss/postcss-mixins, it yields a parsing error: Code Explorer
@define-mixin icon $network, $color: blue {
.icon.is-$(network) {
color: $color;
@mixin-content;
}
.icon.is-$(network):hover {
color: white;
background: $color;
}
}
@mixin icon twitter {
background: url(twt.png);
}
@mixin icon youtube, red {
background: url(youtube.png);
}
This emits the error:
Error: Semicolon or block is expected(column 20)
What do you think is the correct solution?
Some ideas:
- Looser syntax parsing, maybe behind an option?
- PostCSS plugin
Participation
Additional comments
No response
Environment
ESLint version: Latest (Possible to include the version on the Code Explorer?)
@eslint/css version: Latest (Possible to include the version on the Code Explorer?)
Node version: N/A
npm version: N/A
Operating System: mac
What problem do you want to solve?
PostCSS is an extremely popular enhancement over CSS. However, since this plugin only seems to support strict CSS syntax, it cannot be leveraged.
For example, when using https://github.com/postcss/postcss-mixins, it yields a parsing error: Code Explorer
This emits the error:
What do you think is the correct solution?
Some ideas:
Participation
Additional comments
No response