chore(ci): configure noUnknownProperty to allow corner-shape (#1502)

This commit is contained in:
Sam Potts
2026-05-04 17:46:57 -07:00
committed by GitHub
parent 0620814a67
commit 17d44a5d32
3 changed files with 7 additions and 2 deletions
+2
View File
@@ -18,6 +18,8 @@
"biome.requireConfiguration": true,
"editor.defaultFormatter": "biomejs.biome",
"js/ts.tsdk.path": "node_modules/typescript/lib",
// Built-in CSS validation overlaps Biome; disable it for CSS diagnostics only.
"css.validate": false,
"[astro]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
+5
View File
@@ -60,6 +60,11 @@
"noArguments": "off"
},
"correctness": {
"noUnknownProperty": {
"options": {
"ignore": ["corner-shape"]
}
},
"noUnusedVariables": "warn",
"noUnusedImports": "warn",
"noUnusedFunctionParameters": "off",
@@ -45,11 +45,9 @@
}
}
/* biome-ignore lint/correctness/noUnknownProperty: corner-shape is an emerging CSS spec */
@supports (corner-shape: squircle) {
.media-minimal-skin .media-button {
border-radius: 1rem;
/* biome-ignore lint/correctness/noUnknownProperty: corner-shape is an emerging CSS spec */
corner-shape: squircle;
}
}