Skip to content

Commit efc6968

Browse files
committed
docs(util): add comment
1 parent 4044270 commit efc6968

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/util/node-util.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
// LICENSE : MIT
22
"use strict";
33
import {RuleHelper} from "textlint-rule-helper";
4+
/**
5+
* ユーザーが書いたと推測されるNodeかどうかを判定する
6+
* ユーザーが管理できないテキストは対象外としたいため。
7+
* @param node
8+
* @param context
9+
* @returns {boolean}
10+
*/
411
export function isUserWrittenNode(node, context) {
512
let helper = new RuleHelper(context);
613
let Syntax = context.Syntax;

0 commit comments

Comments
 (0)