箇条書きが全角のコロンで区切られている場合に検知されない
Omochice opened this issue · comments
要旨
- **重要情報**:これは重要な項目ですのように全角のコロンで強調部分が区切られている場合に検知されない。
半角コロン:で区切られる場合と文章の意味は同じであると見なせるので、検知できるようにしたい。
再現手順
$ npm install textlint@15.2.1 @textlint-ja/textlint-rule-preset-ai-writing@1.6.0
$ echo '{ "rules": { "@textlint-ja/preset-ai-writing": true } }' > .textlintrc.json
$ echo "- **重要情報**:これは重要な項目です" > sample.md
$ echo "- **重要情報**: これは重要な項目です" >> sample.md
$ npx textlint sample.md半角コロン:で区切られているもののみ検出されます。
/private/tmp/sandbox/reproduction/sample.md
2:1 error リストアイテムで強調(**)とコロン(:)の組み合わせは機械的な印象を与える可能性があります。より自然な表現を検討してください。 @textlint-ja/ai-writing/no-ai-list-formatting
✖ 1 problem (1 error, 0 warnings, 0 infos)環境
- OS:
macOS Sequoia 15.6 arm64 - node:
v22.18.0 - textlint:
15.2.1 @textlint-ja/textlint-rule-preset-ai-writing:1.6.0