Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update markdownlint #1706

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading