---
title: markdownlint
sidebar_label: markdownlint
description: CodeRabbit's guide to markdownlint.
---

```mdx-code-block
import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx';

<ProPlanNotice />
```

[`markdownlint-cli2`](https://github.com/DavidAnson/markdownlint) is a linter for Markdown.

## Files

Markdownlint will run on files with the following extensions:

- `.md`
- `.markdown`

## Configuration

`markdownlint-cli2` supports the following config files:

- `.markdownlint.jsonc`
- `.markdownlint.json`
- `.markdownlint.yaml`
- `.markdownlint.yml`

CodeRabbit will use the default settings based on the profile selected if no config file is found.

## Links

- [`markdownlint-cli2` Configuration](https://github.com/DavidAnson/markdownlint?tab=readme-ov-file#configuration)