Skip to content

Commit 8909277

Browse files
authored
fix: Upgrade @eslint/css-tree to update syntax support (eslint#173)
fixes eslint#159
1 parent 4ccc3cc commit 8909277

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"license": "Apache-2.0",
9595
"dependencies": {
9696
"@eslint/core": "^0.14.0",
97-
"@eslint/css-tree": "^3.3.3",
97+
"@eslint/css-tree": "^3.6.1",
9898
"@eslint/plugin-kit": "^0.3.1"
9999
},
100100
"devDependencies": {

tests/rules/no-invalid-properties.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ ruleTester.run("no-invalid-properties", rule, {
3636
":root { --my-color: red; }\na { color: var(--my-color) }",
3737
":root { --my-color: red; }\na { color: var( --my-color ) }",
3838
":root { --my-color: red;\n.foo { color: var(--my-color) }\n}",
39+
".fluidHeading {font-size: clamp(2.1rem, calc(7.2vw - 0.2rem), 2.5rem);}",
3940
{
4041
code: "a { my-custom-color: red; }",
4142
languageOptions: {

0 commit comments

Comments
 (0)