Skip to content

Commit 1f22c48

Browse files
committed
add comment
1 parent 852d3f4 commit 1f22c48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/textlint-rule-max-comma.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default function (context, options = defaultOptions) {
1818
return {
1919
[Syntax.Paragraph](node) {
2020
const paragraphSentence = splitAST(node)
21+
// Remove Code node for avoiding false-positive in `CODE`
2122
const paragraphSentenceWithoutNode = filter(paragraphSentence, (node) => {
2223
return node.type !== Syntax.Code;
2324
});

0 commit comments

Comments
 (0)