Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 5cbbe6f

Browse files
committed
chore: add textlint in script
1 parent 1fcf74c commit 5cbbe6f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
textlint-rule-common-misspellings
2525
- run:
2626
name: lint-en
27-
command: textlint --config en/.textlintrc.json en/**/*.md
27+
command: yarn textlint --config en/.textlintrc.json en/**/*.md
2828
- run:
2929
name: lint-ja
30-
command: textlint --config ja/.textlintrc.json ja/**/*.md
30+
command: yarn textlint --config ja/.textlintrc.json ja/**/*.md

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "nuxt-docs",
33
"version": "1.0.0",
44
"description": "Nuxt.js documentation files",
5+
"scripts": {
6+
"textlint": "textlint"
7+
},
58
"repository": {
69
"type": "git",
710
"url": "git+https://github.com/nuxt/docs.git"

0 commit comments

Comments
 (0)