Interface: LintOptions
Defined in: packages/lint-core/src/index.ts:115
Options for lintCssDocs.
Properties
configuration?
configuration?: CssDocConfiguration;Defined in: packages/lint-core/src/index.ts:117
The tag configuration to parse with (custom tags, etc.).
modifierConvention?
modifierConvention?: ModifierConventionInput;Defined in: packages/lint-core/src/index.ts:119
The modifier convention (BEM by default; rscss, bare, or a custom object).
naming?
naming?: NamingRules;Defined in: packages/lint-core/src/index.ts:127
Name-case conventions to enforce (component/part); drives the *-name-case rules.
parse?
parse?: CssParse;Defined in: packages/lint-core/src/index.ts:137
The PostCSS parser (inject a dialect parser for .scss/.less; default postcss.parse).
providerEntries?
providerEntries?: readonly CssDocEntry[];Defined in: packages/lint-core/src/index.ts:135
Components from upstream providers this scope consumes — added to the sibling set so a consumer stylesheet can compose them without a false structure-unknown-selector. Resolve via resolveProviders in @cssdoc/config.
rules?
rules?: Partial<Record<RuleName, boolean | RuleSeverity>>;Defined in: packages/lint-core/src/index.ts:125
Per-rule severity (off/warn/error). A boolean is accepted for back-compat (false → off, true → the rule's default). Rules default to warn, except missing-summary, which defaults to off.
structureIgnore?
structureIgnore?: readonly string[];Defined in: packages/lint-core/src/index.ts:129
Class names exempt from the structure-unknown-selector rule (literal names or * globs).