lint.ts

Source

9 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.

Reference

fnlintMarkdown(source: string, options: MarkdownLintOptions = {}): MarkdownLintResultLints Markdown prose with the Rust-backed built-in rule engine.

Lints Markdown prose with the Rust-backed built-in rule engine.

View source

Parameters

  • source string
  • param unknown

Returns

MarkdownLintResult
fnlintMarkdownAsync(source: string, options: MarkdownLintOptions = {}): Promise<MarkdownLintResult>Async Markdown linter that supports opt-in standard dictionaries.

Async Markdown linter that supports opt-in standard dictionaries.

View source

Parameters

  • source string
  • param unknown

Returns

Promise
fnlintMarkdownDocumentsAsync(sources: string[], options: MarkdownLintOptions = {}): Promise<MarkdownLintResult[]>Internal batched Markdown linting entry point used by file-based workflows.

Internal batched Markdown linting entry point used by file-based workflows.

View source

Parameters

  • sources string[]
  • param unknown

Returns

Promise
interfaceMarkdownLintDiagnosticA single Markdown lint diagnostic.

A single Markdown lint diagnostic.

View source

interfaceMarkdownLintDictionaryOptionsAdditional dictionary configuration for the Markdown linter.

Additional dictionary configuration for the Markdown linter.

View source

interfaceMarkdownLintOptionsOptions for linting Markdown documents.

Options for linting Markdown documents.

View source

interfaceMarkdownLintResultMarkdown lint report.

Markdown lint report.

View source

interfaceMarkdownLintRuleOptionsRule switches for Markdown linting.

Rule switches for Markdown linting.

View source

interfaceMarkdownLintStandardDictionaryOptionsOpt-in standard dictionary sources. The default provider uses CSpell dictionary…

Opt-in standard dictionary sources. The default provider uses CSpell dictionary packages because those packages are actively maintained and expose locale-specific dictionaries in a stable config format. Languages without a bundled preset can still be added through custom imports.

View source