Closed Takashicc closed 10 months ago
ありがとうございます。
https://github.com/textlint-rule/textlint-rule-no-unmatched-pair/releases/tag/v2.0.0
でおそらく修正できたと思います。
https://github.com/textlint-rule/sentence-splitter という内部で使ってるライブラリが、
以前は !
でセンテンスを分割されてて、[
に対するペアが別のセンテンスにあって]
を見つけられなくてエラーが出ていたのだと思います。
https://github.com/textlint-ja/textlint-rule-preset-ja-technical-writing https://github.com/textlint-ja/textlint-rule-preset-japanese/ のpresetにはまだこの変更を取り込んでないですが、 https://github.com/textlint-rule/sentence-splitter の古いバージョンを使ってルールは似たような問題はありそうなので、まとめてあげたいですね。
以下のように新しくなったハイライトシンタックスを利用してtextlintを実行すると、
Not found pair characterが発生しました。
直るとうれしいです 🙏