mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Add various Markdown lists as formatted by Prettier with the default --tab-width of 2 and the not uncommon alternate of 4, update Prettier.md with the relevant configuration (produced using v2.8.1 of https://prettier.io/playground/) (refs #652).
This commit is contained in:
parent
21e27a4b63
commit
cb16438a41
5 changed files with 180 additions and 7 deletions
|
@ -12,17 +12,16 @@ Other scenarios are documented below.
|
|||
|
||||
The default settings of `markdownlint` and `Prettier` are compatible and don't
|
||||
result in any linting violations. If `Prettier` is used with `--tab-width` set
|
||||
to `4`, the following `markdownlint` configuration can be used:
|
||||
to `4` (vs. `2`), the following `markdownlint` configuration can be used:
|
||||
|
||||
```json
|
||||
{
|
||||
"MD007": {
|
||||
"indent": 4
|
||||
},
|
||||
"MD030": {
|
||||
"ul_single": 3,
|
||||
"list-marker-space": {
|
||||
"ul_multi": 3,
|
||||
"ol_multi": 2
|
||||
"ul_single": 3
|
||||
},
|
||||
"ul-indent": {
|
||||
"indent": 4
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue