Skip to content

Commit cf1a4ec

Browse files
committed
fix(rule): 致しますを無効化
#9
1 parent c0bbd80 commit cf1a4ec

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

dict/2.2.1.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,17 @@ rules:
152152
# 品詞・意味で使い分ける
153153
- expected: および
154154
patterns: 及び
155-
- expected: 及ぶ
156-
patterns: およぶ
155+
- expected: が及ぶ
156+
patterns: がおよぶ
157157
specs:
158158
- from: (例)影響がおよぶ。
159159
to: (例)影響が及ぶ。
160-
- expected: いたします
161-
patterns: 致します
162-
specs:
163-
- from: (例)お願い致します。
164-
to: (例)お願いいたします。
160+
# メンテナンスが難しいの無効
161+
# - expected: $1いたします
162+
# patterns: ([^引招送誘拉一合極雅筆風])致します
163+
# specs:
164+
# - from: (例)お願い致します。
165+
# to: (例)お願いいたします。
165166
- expected: 致す
166167
patterns: いたす
167168
specs:

test/prh-test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ tester.run("2.2.3.一部の助数詞の表記", require("../src/2.2.3"), {
2424
});
2525
tester.run("2.2.1.ひらがなと漢字の使い分け", require("../src/2.2.1"), {
2626
valid: [
27-
"これは正常なテキストです"
27+
"これは正常なテキストです",
28+
"名前付きスロットはコンテンツ フラグメントに対応する `slot` 属性を持つ任意の要素に一致します。"
2829
]
2930
});

0 commit comments

Comments
 (0)