Skip to content

Commit 06555f0

Browse files
committed
docs(rule): add note for expected include pattern
Ref #8
1 parent 93e17ad commit 06555f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/fixtures/rule.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ rules:
4747
- from: 日経ソフトウエア
4848
to: 日経ソフトウエア
4949

50+
# expected が patternを含んでいるケース
51+
# ルール側で "pattern" が expected を含んでいなではない事を表明する
52+
# https://github.com/azu/textlint-rule-prh/pull/8
5053
- expected: ベンダー
5154
pattern: /ベンダ(?!ー)/
5255
specs:

0 commit comments

Comments
 (0)