Skip to content

@cssdoc/providers

@cssdoc/providers — the host-agnostic language-service core. It exposes diagnostics (author-side hygiene and consumer-side usage), completions, hover, and definitions over a @cssdoc/index, built from modular aspect modules. Every adapter — the Stylelint and ESLint plugins, and the language server — is a thin translation of these into its host's API.

Variables

Functions

References

applyDirectives

Re-exports applyDirectives


Completion

Re-exports Completion


CompletionKind

Re-exports CompletionKind


cssPart

Re-exports cssPart


customProperty

Re-exports customProperty


DEFAULT_RULE_OPTIONS

Re-exports DEFAULT_RULE_OPTIONS


DEFAULT_RULE_SEVERITIES

Re-exports DEFAULT_RULE_SEVERITIES


Diagnostic

Re-exports Diagnostic


elementUsage

Re-exports elementUsage


func

Re-exports func


Hover

Re-exports Hover


HOVER_SECTION_KEYS

Re-exports HOVER_SECTION_KEYS


HoverDetail

Re-exports HoverDetail


HoverSectionKey

Re-exports HoverSectionKey


HoverSectionMode

Re-exports HoverSectionMode


HoverSectionOrder

Re-exports HoverSectionOrder


HoverSections

Re-exports HoverSections


linkSyntax

Re-exports linkSyntax


Location

Re-exports Location


matchesSyntax

Re-exports matchesSyntax


mdnUrlForType

Re-exports mdnUrlForType


modifier

Re-exports modifier


NAME_CASE_PRESETS

Re-exports NAME_CASE_PRESETS


NameCase

Re-exports NameCase


NamingRules

Re-exports NamingRules


parseDirectives

Re-exports parseDirectives


part

Re-exports part


partUsage

Re-exports partUsage


record

Re-exports record


ResolvedNaming

Re-exports ResolvedNaming


ResolvedRuleOptions

Re-exports ResolvedRuleOptions


resolveNaming

Re-exports resolveNaming


resolveRuleOptions

Re-exports resolveRuleOptions


resolveRuleSeverities

Re-exports resolveRuleSeverities


RuleId

Re-exports RuleId


RuleOptions

Re-exports RuleOptions


RuleSeverities

Re-exports RuleSeverities


RuleSeverity

Re-exports RuleSeverity


selectorDefines

Re-exports selectorDefines


Severity

Re-exports Severity


SourceSpan

Re-exports SourceSpan


stateUsage

Re-exports stateUsage


SyntaxMatch

Re-exports SyntaxMatch


UsageOptions

Re-exports UsageOptions

Released under the MIT License