Skip to content

Commit 3981207

Browse files
committed
docs(rule): add comment
1 parent d72a9ff commit 3981207

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/no-doubled-joshi.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ function createSurfaceKeyMap(tokens) {
2424
}
2525
function matchExceptionRule(tokens) {
2626
let token = tokens[0];
27+
// "の" の重なりは例外
2728
if (token.pos_detail_1 === "連体化") {
2829
return true;
2930
}
31+
// "を" の重なりは例外
3032
if (token.pos_detail_1 === "格助詞" && token.surface_form === "を") {
3133
return true;
3234
}

0 commit comments

Comments
 (0)