Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 352 Bytes

required-prefix.md

File metadata and controls

25 lines (18 loc) · 352 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

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

Schema

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