Skip to content
Merged
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
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@
"devDependencies": {
"node-sass": "^4.13.1",
"sass-loader": "^8.0.2",
"shelljs": "^0.8.4",
"textlint": "^11.7.6",
"textlint-checker-for-vuejs-jp-docs": "git+https://github.com/vuejs-jp/textlint-checker-for-vuejs-jp-docs.git",
"textlint-plugin-jtf-style": "^1.0.1",
"textlint-rule-detect-bad-chars": "^1.0.2",
"textlint-rule-no-mix-dearu-desumasu": "^4.0.1",
"vuepress": "^1.5.4"
},
"scripts": {
"serve": "vuepress dev src",
"build": "vuepress build src"
"build": "vuepress build src",
"test": "npm run lint",
"lint": "node -e \"var shell=require('shelljs');var files=shell.find(['./src/**/*.md']).filter(function(file){return !file.endsWith('/guide/team.md')}).join(' ');if(shell.exec('textlint --rulesdir ./node_modules/textlint-checker-for-vuejs-jp-docs/rules/textlint-rule-vue-jp-docs -f pretty-error '+files).code!==0){shell.exit(1)};\""
},
"dependencies": {
"@docsearch/css": "^1.0.0-alpha.27",
Expand Down
24 changes: 24 additions & 0 deletions src/.textlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"rules": {
"textlint-rule-detect-bad-chars": {

},
"preset-jtf-style": {
"1.1.3.箇条書き": false,
"2.1.5.カタカナ": false,
"2.1.6.カタカナの長音": false,
"3.1.1.全角文字と半角文字の間": false,
"3.1.2.全角文字どうし": false,
"4.2.6.ハイフン(-)": false,
"4.2.7.コロン(:)": false,
"4.3.1.丸かっこ()": false,
"4.3.2.大かっこ[]": false
},
"no-mix-dearu-desumasu": {
"preferInHeader": "",
"preferInBody": "ですます",
"preferInList": "ですます",
"strict": true
}
}
}