File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 25
25
26
26
``` sh
27
27
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
30
30
```
31
31
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
+
32
43
## Install
33
44
34
45
Install with [ npm] ( https://www.npmjs.com/ ) :
@@ -103,9 +114,9 @@ module.exports.get = function get(ext = ".*") {};
103
114
- [ JavaScript-Plugin-Architecture] ( https://github.com/azu/JavaScript-Plugin-Architecture )
104
115
- License: < https://github.com/azu/JavaScript-Plugin-Architecture#license >
105
116
- [ 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 >
107
118
- [ 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 >
109
120
- [ progit] ( https://github.com/progit/progit )
110
121
- License: < https://git-scm.com/book/en/v2 >
111
122
- [ what-is-maven] ( https://github.com/KengoTODA/what-is-maven )
You can’t perform that action at this time.
0 commit comments