Skip to content

lint-extensions.ts#

View Markdown

Source

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

3 symbols 3 interfaces 11 members

Reference#

interfaceMarkdownlintConfigNative markdownlint 0.41.1 rules, aliases and tags.

Native markdownlint 0.41.1 rules, aliases and tags.

Signature

export interface MarkdownlintConfig

View source

Members

Indexable
[ruleOrTag: string]: boolean | string | { enabled?: boolean; severity?: "error" | "warning"; [parameter: string]: unknown } | undefined
Properties
NameTypeDescription
$schemaoptional string
defaultoptional boolean
interfaceMarkdownLintFixAn edit whose start/end are UTF-8 byte offsets into the original document.

An edit whose start/end are UTF-8 byte offsets into the original document.

Signature

export interface MarkdownLintFix

View source

Members

Properties
NameTypeDescription
end number
start number
text string
interfaceMarkdownLintTextRulesTextlint-inspired native prose rules. Every rule is opt-in.

Textlint-inspired native prose rules. Every rule is opt-in.

Signature

export interface MarkdownLintTextRules

View source

Members

Properties
NameTypeDescription
maxTenoptional number
Maximum Japanese commas (、) per sentence.
noExclamationQuestionMarkoptional boolean
noTodooptional boolean
sentenceLengthoptional number
Maximum Unicode code points per sentence, across soft line breaks.
terminologyoptional { term: string; replacement: string }[]
Literal, case-sensitive phrases. ASCII terms respect word boundaries.