Skip to content

Type Alias: RuleId

ts
type RuleId = 
  | "missing-summary"
  | "undocumented-modifier"
  | "deprecated-requires-canonical"
  | "name-not-in-css"
  | "unknown-modifier"
  | "deprecated-modifier"
  | "unknown-state"
  | "unknown-part"
  | "undocumented-part"
  | "undocumented-css-part"
  | "component-name-case"
  | "part-name-case"
  | "structure-unknown-selector"
  | "invalid-default-value"
  | "invalid-property-value"
  | "invalid-fallback-value"
  | "unknown-custom-property"
  | "cssdoc-directive";

Defined in: packages/providers/src/types.ts:22

Every rule id an aspect can emit, author-side and consumer-side. A superset of @cssdoc/lint-core's author-side RuleName (which omits the consumer-side unknown-modifier/deprecated-modifier and the opt-in unknown-custom-property).

Released under the MIT License