aboutsummaryrefslogtreecommitdiffhomepage
path: root/.textlintrc.json
diff options
context:
space:
mode:
authorYasutake Yohei <yohei@yasutakeyohei.com>2026-06-30 21:30:14 +0900
committerYasutake Yohei <yohei@yasutakeyohei.com>2026-06-30 21:30:14 +0900
commit9843eb09ad01b14adfe09f24946af2b83f7c448b (patch)
treeb0d79713011c47f39017ead788369ec15f169263 /.textlintrc.json
parentfc29dc0cfc097ef14e4740a2325fa954baf520c3 (diff)
Fix textlint rules for false positives
Disable no-doubled-joshi rule due to infinite loop bug with "への" compound particles. Fix prh.yml しし pattern to exclude 起こ compound.
Diffstat (limited to '.textlintrc.json')
-rw-r--r--.textlintrc.json29
1 files changed, 18 insertions, 11 deletions
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
+}