Skip to content

Commit 16bdbcc

Browse files
committed
Remove old format script, use markdownlint only and drop prettier
1 parent 94d17ed commit 16bdbcc

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"build": "bash ./scripts/md2html/build.sh",
1717
"build-src": "npm run validate-markdown && bash ./scripts/md2html/build.sh src && bash ./scripts/schema-publish.sh src",
1818
"test": "c8 --100 vitest --watch=false && bash scripts/schema-test-coverage.sh",
19-
"format-markdown": "bash ./scripts/format-markdown.sh ./src/oas.md",
20-
"validate-markdown": "npx markdownlint-cli src/oas.md"
19+
"format-markdown": "npx markdownlint-cli2 --config spec.markdownlint.yaml --fix src/oas.md && npx markdownlint-cli2 --fix *.md",
20+
"validate-markdown": "npx markdownlint-cli2 --config spec.markdownlint.yaml src/oas.md && npx markdownlint-cli2 *.md"
2121
},
2222
"dependencies": {
2323
"cheerio": "^1.0.0-rc.5",

scripts/format-markdown.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)