Skip to content

Commit

Permalink
support namespaced rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Mouvedia committed Nov 18, 2024
1 parent 09dd0ec commit d93ca2a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/schema/stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5843,6 +5843,29 @@
]
}
},
"patternProperties": {
"@[a-z\\d][\\w.-]+/.+": {
"oneOf": [
{
"oneOf": [{ "const": true }, { "type": ["null", "string", "number", "object"] }]
},
{
"type": "array",
"minItems": 1,
"maxItems": 2,
"prefixItems": [
{
"oneOf": [{ "const": true }, { "type": ["null", "string", "number", "object"] }]
},
{
"type": "object",
"allOf": [{ "$ref": "#/$defs/commonOptions" }]
}
]
}
]
}
},
"additionalProperties": false
}
}
Expand Down

0 comments on commit d93ca2a

Please sign in to comment.