We overlooked removing the propertiesSyntax and typesSyntax options from declaration-property-value-no-unknown in 17.0.0, as we removed the need for them when we added languageOptions in 16.15.0.
Let's do it in the next major so that:
Migration would be simple in the guide:
{
+ "languageOptions": {
+ syntax": {
+. "properties": { "top": "| <--foo()>" },
+ "types": { "--foo()": "--foo( <length-percentage> )" }
+ }
+ }
+},
"rules": {
"declaration-property-value-no-unknown": [
true,
- {
- "propertiesSyntax": { "top": "| <--foo()>" },
- "typesSyntax": { "--foo()": "--foo( <length-percentage> )" }
- }
- ]
}
}
We overlooked removing the
propertiesSyntaxandtypesSyntaxoptions fromdeclaration-property-value-no-unknownin17.0.0, as we removed the need for them when we addedlanguageOptionsin16.15.0.Let's do it in the next major so that:
at-rule-descriptor-value-no-unknowndeclaration-property-value-no-unknownperformance #9062Migration would be simple in the guide:
{ + "languageOptions": { + syntax": { +. "properties": { "top": "| <--foo()>" }, + "types": { "--foo()": "--foo( <length-percentage> )" } + } + } +}, "rules": { "declaration-property-value-no-unknown": [ true, - { - "propertiesSyntax": { "top": "| <--foo()>" }, - "typesSyntax": { "--foo()": "--foo( <length-percentage> )" } - } - ] } }