Hierarchy

  • Component
    • Markdownlint

Constructors

Properties

ignoreFile?: IgnoreFile

The .markdownlintignore file.

rules: MarkdownlintRules

Direct access to the markdownlint rules (escape hatch)

defaultRules: {
    MD013: {
        codeBlockLineLength: number;
        codeBlocks: boolean;
        headers: boolean;
        headingLineLength: number;
        headings: boolean;
        lineLength: number;
        stern: boolean;
        strict: boolean;
        tables: boolean;
    };
    MD024: {
        allowDifferentNesting: boolean;
        siblingsOnly: boolean;
    };
} = ...

Type declaration

  • MD013: {
        codeBlockLineLength: number;
        codeBlocks: boolean;
        headers: boolean;
        headingLineLength: number;
        headings: boolean;
        lineLength: number;
        stern: boolean;
        strict: boolean;
        tables: boolean;
    }
    • codeBlockLineLength: number
    • codeBlocks: boolean
    • headers: boolean
    • headingLineLength: number
    • headings: boolean
    • lineLength: number
    • stern: boolean
    • strict: boolean
    • tables: boolean
  • MD024: {
        allowDifferentNesting: boolean;
        siblingsOnly: boolean;
    }
    • allowDifferentNesting: boolean
    • siblingsOnly: boolean

Methods

  • Defines Markdownlint ignore Patterns these patterns will be added to the file .markdownlintignore

    Parameters

    • pattern: string

      filepatterns so exclude from Markdownlint formatting

    Returns void

  • Called after synthesis. Order is not guaranteed.

    Returns void

  • Returns void

  • Synthesizes files to the project output directory.

    Returns void

  • Returns the singletone component of a project or undefined if there is none.

    Parameters

    • project: Project

    Returns undefined | Markdownlint

Generated using TypeDoc