Use Prettier for Markdown

As Prettier infers the parser from the input file path, the `parser` option can be safely removed.
This commit is contained in:
Jakob Krigovsky 2020-05-02 20:09:11 +02:00
parent 9ceee97d99
commit 04a5d36eb6
6 changed files with 67 additions and 42 deletions

View file

@ -8,8 +8,8 @@
"build": "tsc && ncc build -o dist/restore src/restore.ts && ncc build -o dist/save src/save.ts",
"test": "tsc --noEmit && jest --coverage",
"lint": "eslint **/*.ts --cache",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts"
"format": "prettier --write **/*.{md,ts}",
"format-check": "prettier --check **/*.{md,ts}"
},
"repository": {
"type": "git",