azu

Results 808 comments of azu

Related: Sentence of AST - [Make sentence part of AST · Issue #3466 · jgm/pandoc](https://github.com/jgm/pandoc/issues/3466 "Make sentence part of AST · Issue #3466 · jgm/pandoc")

I've completely rewritten [sentence-splitter](https://github.com/azu/sentence-splitter "sentence-splitter"). It allow to convert AST to AST. - [refactor(rule): upgrade to "sentence-splitter": "^3.0.6" by azu · Pull Request #9 · textlint-rule/textlint-rule-sentence-length](https://github.com/textlint-rule/textlint-rule-sentence-length/pull/9) - [fix(rule): upgrade to...

Currently, wildcard is not supported in [@textlint/textlint-plugin-markdown](https://github.com/textlint/textlint/blob/master/packages/%40textlint/textlint-plugin-markdown/src/MarkdownProcessor.js#L13) and [@textlint/textlint-plugin-text](https://github.com/textlint/textlint/blob/67062c5b7c5bd2f869a6d80b966640bbc033e552/packages/%40textlint/textlint-plugin-text/src/TextProcessor.js#L14). We can implement wildcard on `extensions` options using [micromatch](https://github.com/micromatch/micromatch) library, but I wonder if wildcard support is really necessary? For instance,...

textlint has multiple plugins by default. So, `--forceMatch`(only) can not help textlint to use which plugin. prettier's `overrides` feature is similar approach. It force match `files` and `parser`. - https://prettier.io/docs/en/configuration.html#setting-the-parser-docs-en-optionshtml-parser-option...

We can use `utf-8-validate`. `Buffer.from` need Node. 5 - [utf-8-validate](https://www.npmjs.com/package/utf-8-validate) - [utf-8-validate/test.js at master · websockets/utf-8-validate](https://github.com/websockets/utf-8-validate/blob/master/test/test.js) - [Buffer | Node.js v8.2.1 Documentation](https://nodejs.org/api/buffer.html#buffer_class_method_buffer_from_string_encoding)

alt https://github.com/hcodes/isutf8

https://github.com/shinnn/is-file-utf8

This issue is based on bug report on twitter. - https://twitter.com/okinaka3/status/867298831263715328 - https://twitter.com/azu_re/status/867662138831130624 textlint use [rc-loader](https://www.npmjs.com/package/rc-loader "rc-loader") in days past. But, I've replaced it to [rc-config-loader](https://github.com/azu/rc-config-loader "rc-config-loader") #39 https://github.com/textlint/textlint/pull/262 Maybe,...

https://github.com/textlint-ja/textlint-rule-preset-JTF-style/blob/master/src/index.js JTF preset use multibyte string in the `key`. Is it a reason? > It does not throw an error. > But max-kanji-continuous-len.allow not working. It is better that assert...

I love loud error rather than silent error.