Skip to content

Commit 8420cb2

Browse files
traskjoaopgrassi
andauthored
Update markdownlint (#1706)
Co-authored-by: Joao Grassi <[email protected]>
1 parent 0bf234b commit 8420cb2

File tree

4 files changed

+4
-81
lines changed

4 files changed

+4
-81
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: make check-file-and-folder-names-in-docs
1919

2020
- name: run markdownlint
21-
run: npx gulp lint-md
21+
run: make markdownlint
2222

2323
yamllint:
2424
runs-on: ubuntu-latest

Makefile

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,8 @@ markdown-toc:
101101

102102
.PHONY: markdownlint
103103
markdownlint:
104-
@if ! npm ls markdownlint; then npm install; fi
105-
@npx gulp lint-md
106-
107-
.PHONY: markdownlint-old
108-
markdownlint-old:
109-
@if ! npm ls markdownlint; then npm install; fi
110-
@for f in $(ALL_DOCS); do \
111-
echo $$f; \
112-
npx --no -p markdownlint-cli markdownlint -c .markdownlint.yaml $$f \
113-
|| exit 1; \
114-
done
104+
@if ! npm ls markdownlint-cli; then npm install; fi
105+
npx --no -- markdownlint-cli -c .markdownlint.yaml $(ALL_DOCS)
115106

116107
.PHONY: install-yamllint
117108
install-yamllint:

gulpfile.js

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

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,10 @@
99
"test": "npm run check"
1010
},
1111
"devDependencies": {
12-
"gulp": "^5.0.0",
13-
"js-yaml": "^4.1.0",
1412
"markdown-link-check": "3.11.2",
1513
"markdown-toc": "^1.2.0",
16-
"markdownlint": "0.36.1",
1714
"markdownlint-cli": "0.43.0",
18-
"prettier": "^3.0.0",
19-
"through2": "^4.0.2"
15+
"prettier": "^3.0.0"
2016
},
2117
"prettier": {
2218
"proseWrap": "preserve"

0 commit comments

Comments
 (0)