Skip to content

Remove *syntax options from declaration-property-value-no-unknown #9063

@jeddy3

Description

@jeddy3

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> )" }
-   }
-  ]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Enhancement.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions