Home > harper.js > LintOptions

LintOptions interface

Options available to configure Harper's parser for an individual linting operation.

Signature:

export declare interface LintOptions 

Properties

Property

Modifiers

Type

Description

forceAllHeadings?

boolean

(Optional) Force the entirety of the document to be composed of headings. An undefined value is assumed to be false.

language?

'plaintext' | 'markdown' | 'typst'

(Optional) The markup language that is being passed. Defaults to markdown.