Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit 3e3a82d

Browse files
committed
🍝 docs: add textlint and docs directory
1 parent b8a27f1 commit 3e3a82d

File tree

6 files changed

+65
-1
lines changed

6 files changed

+65
-1
lines changed

docs/.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# dependencies
2+
yarn.lock
3+
node_modules
4+
5+
# logs
6+
npm-debug.log
7+
yarn-error.log
8+
.DS_Store
9+
.vscode
10+
.idea

docs/.textlintrc

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"rules": {
3+
"no-todo": true,
4+
"preset-jtf-style": {
5+
"2.1.6.カタカナの長音": false,
6+
"3.1.1.全角文字と半角文字の間": false,
7+
"4.2.6.ハイフン(-)": false,
8+
"4.2.7.コロン(:)": false,
9+
"4.3.2.大かっこ[]": false
10+
},
11+
"preset-ja-spacing": {
12+
"ja-nakaguro-or-halfwidth-space-between-katakana": true,
13+
"ja-no-space-around-parentheses": true,
14+
"ja-no-space-between-full-width": true,
15+
"ja-space-between-half-and-full-width": {
16+
"space": "always"
17+
},
18+
"ja-space-after-exclamation": false,
19+
"ja-space-after-question": false,
20+
"ja-space-around-code": {
21+
"before": true,
22+
"after": true
23+
}
24+
}
25+
},
26+
"filters": {
27+
"whitelist": {
28+
"allow": [
29+
"/.?\\d+/"
30+
]
31+
}
32+
}
33+
}

docs/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ここに Nuxt.js・Vue.js・TypeScript・JavaScript 関連のドキュメントを書いていきます。

docs/nuxt/asyncData-vs-fetch.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[Nuxt.jsのasyncDataとfetchは何が違うのか - Qiita](https://qiita.com/Tsuyoshi84/items/2e47b7f5e7fb8c0c3c66)

docs/package.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "docs",
3+
"version": "1.0.0",
4+
"main": "index.js",
5+
"author": "hisasann",
6+
"license": "MIT",
7+
"private": true,
8+
"scripts": {
9+
"textlint": "textlint --config .textlintrc ./*.md",
10+
"textlint:fix": "yarn textlint --fix --format diff"
11+
},
12+
"dependencies": {
13+
"textlint": "^11.2.5",
14+
"textlint-filter-rule-whitelist": "^2.0.0",
15+
"textlint-rule-no-todo": "^2.0.1",
16+
"textlint-rule-preset-ja-spacing": "^2.0.1",
17+
"textlint-rule-preset-jtf-style": "^2.3.3"
18+
}
19+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "typescript-nuxtjs-boilerplate",
33
"private": true,
44
"version": "0.0.1",
5-
"description": "My gnarly Nuxt.js project",
5+
"description": "Nuxt.js with TypeScript and Run with docker and docker-compose",
66
"scripts": {
77
"local": "npm run dev",
88
"dev": "cross-env NODE_ENV=development BUILD_ENV=local nuxt",

0 commit comments

Comments
 (0)