Skip to content

Commit

Permalink
Update markdownlint
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Dec 20, 2024
1 parent 5a58032 commit a8b744b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 81 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: make check-file-and-folder-names-in-docs

- name: run markdownlint
run: npx gulp lint-md
run: make markdownlint

yamllint:
runs-on: ubuntu-latest
Expand Down
13 changes: 2 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,8 @@ markdown-toc:

.PHONY: markdownlint
markdownlint:
@if ! npm ls markdownlint; then npm install; fi
@npx gulp lint-md

.PHONY: markdownlint-old
markdownlint-old:
@if ! npm ls markdownlint; then npm install; fi
@for f in $(ALL_DOCS); do \
echo $$f; \
npx --no -p markdownlint-cli markdownlint -c .markdownlint.yaml $$f \
|| exit 1; \
done
@if ! npm ls markdownlint-cli; then npm install; fi
npx --no -- markdownlint-cli -c .markdownlint.yaml $(ALL_DOCS)

.PHONY: install-yamllint
install-yamllint:
Expand Down
64 changes: 0 additions & 64 deletions gulpfile.js

This file was deleted.

6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,10 @@
"test": "npm run check"
},
"devDependencies": {
"gulp": "^5.0.0",
"js-yaml": "^4.1.0",
"markdown-link-check": "3.11.2",
"markdown-toc": "^1.2.0",
"markdownlint": "0.36.1",
"markdownlint-cli": "0.43.0",
"prettier": "^3.0.0",
"through2": "^4.0.2"
"prettier": "^3.0.0"
},
"prettier": {
"proseWrap": "preserve"
Expand Down

0 comments on commit a8b744b

Please sign in to comment.