Ensures that a Component's class name
have a valid pattern.
An object containing:
pattern
: the pattern to match with class nameignoreCase
: true if you want to ignore case sensitive in pattern match
{ "@stencil-community/class-pattern": ["error", { "pattern": "^(?!NoStart).*Component$", "ignoreCase": true }] }
{
"type": "object",
"properties": {
"pattern": {
"type": "string"
},
"ignoreCase": {
"type": "boolean",
"required": false
}
},
"additionalProperties": false
}