Skip to content

Commit bb5215a

Browse files
authored
Update README.md
1 parent 3b1a2f8 commit bb5215a

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,21 @@
2525

2626
```sh
2727
npm i -g textlint technological-book-corpus-ja
28-
# 試したいルールをlib/において試す
29-
technological-book-corpus-ja | xargs textlint --rulesdir lib/ -f pretty-error
28+
# --rule でルール名を指定する
29+
technological-book-corpus-ja | xargs textlint --rule textlint-no-todo -f pretty-error
3030
```
3131

32+
開発中のルールをコーパスでテストする方法。
33+
34+
ルールのプロジェクトディレクトリでルール自体を`.`でグローバルインストールする。
35+
36+
```sh
37+
npm i -g . textlint technological-book-corpus-ja
38+
# --rule でルール名を指定する
39+
technological-book-corpus-ja | xargs textlint --rule textlint-my-rule -f pretty-error
40+
```
41+
42+
3243
## Install
3344

3445
Install with [npm](https://www.npmjs.com/):
@@ -103,9 +114,9 @@ module.exports.get = function get(ext = ".*") {};
103114
- [JavaScript-Plugin-Architecture](https://github.com/azu/JavaScript-Plugin-Architecture)
104115
- License: <https://github.com/azu/JavaScript-Plugin-Architecture#license>
105116
- [Introduction-to-Add-on-Development-in-Blender](https://github.com/nutti/Introduction-to-Add-on-Development-in-Blender)
106-
- License: <https://github.com/nutti/Introduction-to-Add-on-Development-in-Blender/blob/draft/LICENSE>
117+
- License: <https://github.com/nutti/Introduction-to-Add-on-Development-in-Blender/blob/release/LICENSE>
107118
- [The-Little-Book-on-CoffeeScript](https://github.com/minghai/library/tree/gh-pages)
108-
- License: <https://github.com/minghai/library/tree/gh-pages>
119+
- License: <https://github.com/minghai/library/blob/gh-pages/coffeescript/LICENSE>
109120
- [progit](https://github.com/progit/progit)
110121
- License: <https://git-scm.com/book/en/v2>
111122
- [what-is-maven](https://github.com/KengoTODA/what-is-maven)

0 commit comments

Comments
 (0)