Skip to content

Commit 5d01bfa

Browse files
committed
fix(readme): fix lint error
1 parent 21992f6 commit 5d01bfa

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
技術文書向けの[textlint](https://textlint.github.io/)ルールプリセットです。
44

5+
<!-- textlint-disable preset-ja-technical-writing/no-mix-dearu-desumasu,
6+
preset-ja-technical-writing/no-exclamation-question-mark -->
7+
58
## Install
69

710
Install with [npm](https://www.npmjs.com/):
@@ -66,7 +69,7 @@ https://github.com/azu/textlint-rule-preset-JTF-style
6669

6770

6871
"arabic-kanji-numbers": true,
69-
72+
7073
### 「ですます調」、「である調」を統一します
7174
- 見出しは自動
7275
- 本文はですます調
@@ -81,7 +84,8 @@ https://github.com/azu/textlint-rule-no-mix-dearu-desumasu
8184
"preferInList": "である",
8285
"strict": true
8386
},
84-
87+
88+
8589
### 文末の句点記号として「。」を使います
8690
https://github.com/textlint-ja/textlint-rule-ja-no-mixed-period
8791

@@ -128,7 +132,7 @@ https://github.com/azu/textlint-rule-no-hankaku-kana
128132
"no-hankaku-kana": true,
129133
130134
### 弱い日本語表現の利用を使用しない
131-
- 〜かもしれない 等の弱い表現を使用しない
135+
- `〜かもしれない` 等の弱い表現を使用しない
132136

133137
https://github.com/textlint-ja/textlint-rule-ja-no-weak-phrase
134138

example/.textlintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"filters": {
3+
"comments": true
4+
},
25
"rules": {
36
"preset-ja-technical-writing": true
47
}

example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
},
88
"devDependencies": {
99
"textlint": "^7.0.1",
10+
"textlint-filter-rule-comments": "^1.2.1",
1011
"textlint-rule-preset-ja-technical-writing": "file:../"
1112
}
1213
}

0 commit comments

Comments
 (0)