mirror of
https://github.com/remarkjs/remark-lint.git
synced 2024-10-26 19:31:42 +03:00
Add missing jsdoc comment
This commit is contained in:
parent
a3b082949d
commit
63b83b994f
@ -107,11 +107,15 @@ function maximumLineLength(ast, file, preferred, done) {
|
||||
whitelist(initial - 1, final);
|
||||
});
|
||||
|
||||
/*
|
||||
/**
|
||||
* Finally, whitelist URLs, but only if they occur at
|
||||
* or after the wrap. However, when they do, and
|
||||
* there’s white-space after it, they are not
|
||||
* whitelisted.
|
||||
*
|
||||
* @param {Node} node
|
||||
* @param {number} pos
|
||||
* @param {Node} parent
|
||||
*/
|
||||
function validateLink(node, pos, parent) {
|
||||
var next = parent.children[pos + 1];
|
||||
|
@ -2401,11 +2401,15 @@ function maximumLineLength(ast, file, preferred, done) {
|
||||
whitelist(initial - 1, final);
|
||||
});
|
||||
|
||||
/*
|
||||
/**
|
||||
* Finally, whitelist URLs, but only if they occur at
|
||||
* or after the wrap. However, when they do, and
|
||||
* there’s white-space after it, they are not
|
||||
* whitelisted.
|
||||
*
|
||||
* @param {Node} node
|
||||
* @param {number} pos
|
||||
* @param {Node} parent
|
||||
*/
|
||||
function validateLink(node, pos, parent) {
|
||||
var next = parent.children[pos + 1];
|
||||
|
Loading…
Reference in New Issue
Block a user