Skip to content

Commit 0edc8f5

Browse files
authored
chore: add textlint for content/** files (#38)
1 parent 020627a commit 0edc8f5

File tree

3 files changed

+1921
-24
lines changed

3 files changed

+1921
-24
lines changed

.textlintrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"rules": {
3+
"preset-vuejs-jp": true
4+
}
5+
}

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"typecheck": "nuxt typecheck",
1212
"prepare": "nuxt prepare && pnpm -C ./templates/basic install && pnpm -C ./templates/basic prepare",
1313
"lint": "eslint .",
14-
"format": "eslint . --fix"
14+
"format": "eslint . --fix",
15+
"textlint": "textlint --format pretty-error content/**"
1516
},
1617
"dependencies": {
1718
"@shikijs/core": "^1.5.2",
@@ -31,6 +32,8 @@
3132
"shiki": "^1.5.2",
3233
"splitpanes": "^3.1.5",
3334
"strip-json-comments": "^5.0.1",
35+
"textlint": "^14.0.4",
36+
"textlint-rule-preset-vuejs-jp": "github:vuejs-jp/textlint-rule-preset-vuejs-jp",
3437
"theme-vitesse": "^0.8.0",
3538
"unified": "^11.0.4",
3639
"vue": "^3.4.27",

0 commit comments

Comments
 (0)