mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 07:42:13 -05:00
docs: explain markdownlint yaml configuration file
This commit is contained in:
parent
eec8ad51b5
commit
f0a1605597
1 changed files with 6 additions and 0 deletions
|
@ -718,6 +718,12 @@ foo() -- Warning is emitted.
|
||||||
- You can pass multiple rules and overwrite default rules
|
- You can pass multiple rules and overwrite default rules
|
||||||
- File should be located at: `.github/linters/.markdown-lint.yml`
|
- 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
|
### markdownlint disable single line
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
|
|
Loading…
Reference in a new issue