mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 05:50:13 +01:00
Minor tweaks to previous commit.
This commit is contained in:
parent
82a5de0821
commit
4e1692ffed
2 changed files with 5 additions and 4 deletions
|
|
@ -1,12 +1,12 @@
|
||||||
# Using markdownlint with Prettier
|
# Using `markdownlint` with Prettier
|
||||||
|
|
||||||
[`Prettier`](https://prettier.io) is a popular code formatter.
|
[`Prettier`](https://prettier.io) is a popular code formatter.
|
||||||
For the most part, Prettier works seamlessly with `markdownlint`.
|
For the most part, Prettier works seamlessly with `markdownlint`.
|
||||||
|
|
||||||
You can extend the `markdownlint/style/prettier.json` style to disable all
|
You can `extend` the [`prettier.json`](../style/prettier.json) style to disable
|
||||||
markdownlint rules that overlap with Prettier.
|
all `markdownlint` rules that overlap with Prettier.
|
||||||
|
|
||||||
Special situations when not extending `prettier.json` are documented below.
|
Other scenarios are documented below.
|
||||||
|
|
||||||
## List item indentation
|
## List item indentation
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"comment": "Disables rules that may conflict with Prettier",
|
"comment": "Disables rules that may conflict with Prettier",
|
||||||
|
|
||||||
"blanks-around-fences": false,
|
"blanks-around-fences": false,
|
||||||
"blanks-around-headings": false,
|
"blanks-around-headings": false,
|
||||||
"blanks-around-lists": false,
|
"blanks-around-lists": false,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue