Skip to content

DirectiveScan

What a note’s inline obsidian-dev-utils-disable… directives allow, rule by rule, and what is wrong with them.

Import:

import type { DirectiveScan } from '@mnaoumov/obsidian-dev-toolkit/demo-vault-coverage';

Signature:

export interface DirectiveScan

Properties

PropertyTypeDescription
allowedLineIndexesByRuleReadonlyMap<string, ReadonlySet<number>>For each rule, the zero-based line numbers a directive exempts from it.
problemsstring[]The directive mistakes found, each phrased for a failing assertion.