Skip to content

Commit fc9fb09

Browse files
committed
Tooling update
1 parent 2b19c68 commit fc9fb09

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ jobs:
9898
run: npm install
9999

100100
- name: run textlint
101-
run: make textlint
101+
run: make textlint format=github

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,12 @@ misspell: $(MISSPELL)
4444
.PHONY: textlint
4545
textlint:
4646
@if ! npm ls textlint; then npm install; fi
47-
npx textlint .
4847

48+
@if [ "$(format)" = "github" ]; then \
49+
npx textlint --format github .; \
50+
else \
51+
npx textlint .; \
52+
fi
4953
.PHONY: textlint-correction
5054
textlint-correction:
5155
@if ! npm ls textlint; then npm install; fi

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"markdown-link-check": "3.14.2",
44
"markdown-toc": "1.2.0",
55
"markdownlint-cli": "0.47.0",
6-
"textlint": "15.5.0",
6+
"textlint": "15.5.1",
77
"textlint-filter-rule-allowlist": "4.0.0",
88
"textlint-filter-rule-comments": "1.3.0",
99
"textlint-rule-common-misspellings": "1.0.1",

0 commit comments

Comments
 (0)