-
I good to like that textlint rule naming start with `textlint-rule-*`.
It is inspired by Babel.
- [x] recommend textlint rule naming `textlint-rule-*`
- [x] Add `--rule ` for CLI
- [x] Set rule by fu…
-
We want to support custom parser.
e.g.) textlint can lint `.rst` file by custom parser.
- [x] custom pre/post process(parse/modified) #36
- [ ] custom AST traverse and Syntax => lator
- [x] customiz…
-
When many rule is loaded, occur this warning
```
(node) warning: possible EventEmitter memory leak detected. 11 Str listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at Text…
-
Current:
``` js
var TextLintEngine = require("textlint").TextLintEngine;
var engine = new TextLintEngine({
rules: ["textlint-rule-spellcheck-tech-word"]
});
```
``` js
var TextLintEngine = requ…
-
`textlint-core.js` is not single, but `rule-manager.js` is a singleton.
``` js
var textlint1 = new TextLintCore();
textlint1.setupRule()
// do lint...
var textlint2 = new TextLintCore();
// textlint2…
-
Atomのプラグインを作りたいときに、Atomで開かれているディレクトリの`node_modules/textlint-rule-*`をtextlintにロードしてあげると、そのプロジェクトの`package.json`と`.textlintrc`に依存関係を完結させることが出来そうなので・・・。
つまり、
https://github.com/azu/textlint/blob/master/…
-
「右がiPhone、左がAndroidです。」や「ナイフで切断した後、ハンマーで破砕した。」といったように、同一の格助詞が読点で句切られている文を許容したいです。
単純には、splitSentencesの引数に使われているcharRegExpに`、`を追加すれば良さそうですが、「なんでも読点を打てばよいというのはいかがなものか」ということもあるかと思います。その場合は間隔値の算出をポイント制にし…
-
textlint require options for each rules.
- [Documentation - ESLint - Pluggable JavaScript linter](http://eslint.org/docs/user-guide/configuring)
``` js
{
"parser": "esprima",
"rules": {
…
-
> ESLintではルールをどうやって使っているかというと、ASTは木構造のとなってるので、 そのASTを深さ優先で探索していきながらそれぞれ登録したルールに対して、 「今"MemberExpression" typeのNodeに到達した」といったことを通知することを繰り返しています。
主体がわかりにくい
-
https://github.com/senchalabs/connect
大文字のConnectに統一する