Update dependencies: eslint-plugin-jsdoc to 31.6.0, eslint-plugin-unicorn to 27.0.0.

This commit is contained in:
David Anson 2021-02-06 19:55:22 -08:00
parent ec907567e2
commit c87d7f5b8c
13 changed files with 95 additions and 74 deletions

View file

@ -24,8 +24,8 @@ module.exports = {
linkText = "";
} else if (type === "link_close") {
inLink = false;
const left = linkText.trimLeft().length !== linkText.length;
const right = linkText.trimRight().length !== linkText.length;
const left = linkText.trimStart().length !== linkText.length;
const right = linkText.trimEnd().length !== linkText.length;
if (left || right) {
const line = params.lines[lineNumber - 1];
let range = null;