Skip to content

Interface: UnsupportedDiagnostic

Defined in: packages/vellora/src/errors.ts:86

The located out-of-subset diagnostic the bridge/core emits, flattened across the FFI. This exact shape is the contract with the napi binding.

Properties

col

col: number | null

Defined in: packages/vellora/src/errors.ts:94

1-based source column of the offending node, or null when the source position is unknown.


feature

feature: string

Defined in: packages/vellora/src/errors.ts:90

The out-of-subset feature in the core's colon-namespaced taxonomy, e.g. "css:animation" or "element:script". Best-effort mode normalizes @vellora/lint rule ids to this same vocabulary, so a given construct yields one canonical feature regardless of which path reported it.


hint

hint: string

Defined in: packages/vellora/src/errors.ts:96

Remediation hint from the core, e.g. "run vellora fix".


line

line: number | null

Defined in: packages/vellora/src/errors.ts:92

1-based source line of the offending node, or null when the source position is unknown.