Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 364 Bytes

required-prefix.md

File metadata and controls

25 lines (18 loc) · 364 Bytes

required-prefix

Ensures that a Component's tag use any of the given prefixes.

Config

An array of "string"s which Component tag will be use as a prefix.

Config examples

{ "@stencil-community/required-prefix": ["error", ["app"]] }

Schema

{
  "type": "array",
  "items": {
    "type": "string"
  },
  "minLength": 1
}