ITADN

sentence-splitter のアップデート

#131Openazu 创建于 2023-11-24
Type: Breaking Change
A
azucommented
[GitHubに追加](https://github.com/orgs/community/discussions/16925)された次の構文で一部ルールに影響が出てる > [!NOTE] > some content この構文が https://github.com/textlint-rule/sentence-splitter v3だと正しく解析できない。 具体的に問題が起きるケースは、[textlint-rule/textlint-rule-no-unmatched-pair](https://github.com/textlint-rule/textlint-rule-no-unmatched-pair)だけな気はするが、壊れてる可能性があるので、まとめてアップデートしたい。 - https://github.com/textlint-rule/textlint-rule-no-unmatched-pair/issues/16 ## sentence-splitterへの依存 https://npmgraph.js.org/?q=textlint-rule-preset-ja-technical-writing#select=exact%3Asentence-splitter%403.2.3 このv3に依存してるルールを~~v4~~v5へまとめてあげる必要がある。 sentence-splitter v5でNode.js 18+にしたので、v5まであげる。 - https://github.com/textlint-rule/sentence-splitter/releases/tag/v5.0.0 ## TODO それぞれsentence-splitterをv3から~~v4~~v5へアップデートする - [x] @textlint-rule/textlint-rule-no-unmatched-pair - https://github.com/textlint-rule/textlint-rule-no-unmatched-pair/releases/tag/v2.0.2 - [x] [textlint-ja/textlint-rule-no-doubled-joshi: 文中に同じ助詞が複数出てくるのをチェックするtextlintルール](https://github.com/textlint-ja/textlint-rule-no-doubled-joshi) - [x] [textlint-ja/textlint-rule-no-doubled-conjunction: textlint plugin to check duplicated same conjunctions.](https://github.com/textlint-ja/textlint-rule-no-doubled-conjunction) - [x] [textlint-ja/textlint-rule-no-doubled-conjunctive-particle-ga: textlint rule plugin to check duplicated conjunctive particle `ga` in a sentence.](https://github.com/textlint-ja/textlint-rule-no-doubled-conjunctive-particle-ga) - [x] [textlint-ja/textlint-rule-max-ten: textlint rule that limit maxinum ten(、) count of sentence.](https://github.com/textlint-ja/textlint-rule-max-ten) ## related - https://github.com/textlint-rule/textlint-rule-no-unmatched-pair/issues/16 - https://github.com/orgs/community/discussions/16925
3 条评论