Add style/prettier.json (fixes #592).

This commit is contained in:
Josh Goldberg 2022-10-02 01:15:14 -04:00 committed by David Anson
parent cedbdbaaf1
commit 82a5de0821
4 changed files with 34 additions and 4 deletions

View file

@ -1,8 +1,12 @@
# Using markdownlint with Prettier
[`Prettier`](https://prettier.io) is a popular code formatter. For the most part,
it works seamlessly with `markdownlint`. Special situations are documented
below.
[`Prettier`](https://prettier.io) is a popular code formatter.
For the most part, Prettier works seamlessly with `markdownlint`.
You can extend the `markdownlint/style/prettier.json` style to disable all
markdownlint rules that overlap with Prettier.
Special situations when not extending `prettier.json` are documented below.
## List item indentation