Merge pull request #863 from sheeeng/docs/explain-markdownlint-yaml-configuration-file

docs: explain markdownlint yaml configuration file
This commit is contained in:
Lukas Gravley 2020-10-19 10:28:38 -05:00 committed by GitHub
commit 92a2391dad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -718,6 +718,12 @@ foo() -- Warning is emitted.
- You can pass multiple rules and overwrite default rules
- File should be located at: `.github/linters/.markdown-lint.yml`
For example, disable [MD013/line-length](https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md013---line-length) rule using below configuration in `.github/linters/.markdown-lint.yml` file.
```json
{ "default": true, "MD013": null }
```
### markdownlint disable single line
```markdown