From 9843eb09ad01b14adfe09f24946af2b83f7c448b Mon Sep 17 00:00:00 2001 From: Yasutake Yohei Date: Tue, 30 Jun 2026 21:30:14 +0900 Subject: Fix textlint rules for false positives MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Disable no-doubled-joshi rule due to infinite loop bug with "への" compound particles. Fix prh.yml しし pattern to exclude 起こ compound. --- .textlintrc.json | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to '.textlintrc.json') diff --git a/.textlintrc.json b/.textlintrc.json index 48cacb8..469a630 100644 --- a/.textlintrc.json +++ b/.textlintrc.json @@ -1,9 +1,7 @@ { "plugins": { "@textlint/markdown": { - "extensions": [ - ".mdx" - ] + "extensions": [".mdx"] }, "mdx": true }, @@ -15,7 +13,20 @@ "rules": { "@textlint-ja/no-dropping-i": true, "@textlint-ja/no-synonyms": { - "allows": ["遣い", "支払い", "支払", "いえ", "ふる", "極め", "コロナ", "ネット", "カネ", "総務", "出し", "パブコメ"] + "allows": [ + "遣い", + "支払い", + "支払", + "いえ", + "ふる", + "極め", + "コロナ", + "ネット", + "カネ", + "総務", + "出し", + "パブコメ" + ] }, "ja-no-abusage": true, "ja-no-redundant-expression": true, @@ -23,9 +34,7 @@ "no-double-negative-ja": true, "no-doubled-conjunction": true, "no-doubled-conjunctive-particle-ga": true, - "no-doubled-joshi": { - "allow": ["も","や"] - }, + "no-doubled-joshi": false, "sentence-length": true, "max-ten": true, "no-mix-dearu-desumasu": true, @@ -36,9 +45,7 @@ "no-zero-width-spaces": true, "no-kangxi-radicals": true, "prh": { - "rulePaths": [ - "prh.yml" - ] + "rulePaths": ["prh.yml"] } } -} \ No newline at end of file +} -- cgit v1.3.1