Type object
File match .mado.toml mado.toml
Schema URL https://catalog.lintel.tools/schemas/schemastore/mado-configuration/latest.json
Source https://raw.githubusercontent.com/akiomik/mado/refs/heads/main/pkg/json-schema/mado.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

lint object

Lint configuration

21 nested properties
respect-ignore boolean

Exclude files that are ignored by .ignore

Default: true
respect-gitignore boolean

Exclude files that are ignored by .gitignore

Default: true
output-format string

Output format for violations

Default: "concise"
Values: "concise" "mdl" "markdownlint"
quiet boolean

Only log errors

Default: false
exclude string[]

List of patterns to exclude from linting

Default:
[]
rules string[]

List of rules

Default:
[
  "MD001",
  "MD002",
  "MD003",
  "MD004",
  "MD005",
  "MD006",
  "MD007",
  "MD009",
  "MD010",
  "MD012",
  "MD013",
  "MD014",
  "MD018",
  "MD019",
  "MD020",
  "MD021",
  "MD022",
  "MD023",
  "MD024",
  "MD025",
  "MD026",
  "MD027",
  "MD028",
  "MD029",
  "MD030",
  "MD031",
  "MD032",
  "MD033",
  "MD034",
  "MD035",
  "MD036",
  "MD037",
  "MD038",
  "MD039",
  "MD040",
  "MD041",
  "MD046",
  "MD047"
]
uniqueItems=true
md002 object

Lint configuration for MD002

1 nested properties
level number

Heading level

Default: 1
min=1max=6
md003 object

Lint configuration for MD003

1 nested properties
style string

Heading style

Default: "consistent"
Values: "consistent" "atx" "atx-closed" "setext" "setext-with-atx"
md004 object

Lint configuration for MD004

1 nested properties
style string

List style

Default: "consistent"
Values: "consistent" "asterisk" "plus" "dash" "sublist"
md007 object

Lint configuration for MD007

1 nested properties
indent number

Spaces for indent

Default: 4
min=2
md013 object

Lint configuration for MD013

3 nested properties
line-length number

Number of characters

Default: 80
min=0
code-blocks boolean

Include code blocks

Default: true
tables boolean

Include tables

Default: true
md024 object

Lint configuration for MD024

1 nested properties
allow-different-nesting boolean

Allow header duplication under different nesting

Default: false
md025 object

Lint configuration for MD025

1 nested properties
level number

Heading level

Default: 1
min=1max=6
md026 object

Lint configuration for MD026

1 nested properties
punctuation string

Punctuation characters

Default: ".,;:!?"
md029 object

Lint configuration for MD029

1 nested properties
style string

List style

Default: "one"
Values: "one" "ordered"
md030 object

Lint configuration for MD030

4 nested properties
ul-single number

Spaces for single-line unordered list items

Default: 1
min=1
ol-single number

Spaces for single-line ordered list items

Default: 1
min=1
ul-multi number

Spaces for multi-line unordered list items

Default: 1
min=1
ol-multi number

Spaces for multi-line ordered list items

Default: 1
min=1
md033 object

Lint configuration for MD033

1 nested properties
allowed-elements string[]

Allowed elements

Default:
[]
md035 object

Lint configuration for MD035

1 nested properties
style string

Horizontal rule style

Default: "consistent"
md036 object

Lint configuration for MD036

1 nested properties
punctuation string

Punctuation characters

Default: ".,;:!?"
md041 object

Lint configuration for MD041

1 nested properties
level number

Heading level

Default: 1
min=1max=6
md046 object

Lint configuration for MD046

1 nested properties
style string

Block style

Default: "fenced"
Values: "fenced" "indented" "consistent"