Add ESLint plugin eslint-plugin-regexp, enable recommended rules, apply all automated fixes (refs #657).

This commit is contained in:
David Anson 2022-12-19 21:36:24 -08:00
parent c346e0dbac
commit 6b01a98363
15 changed files with 41 additions and 34 deletions

View file

@ -7,7 +7,7 @@ const { addErrorContext, filterTokens, funcExpExec, urlFe, withinAnyRange } =
const { codeBlockAndSpanRanges, htmlElementRanges, referenceLinkImageData } =
require("./cache");
const htmlLinkRe = /<a(?:|\s[^>]+)>[^<>]*<\/a\s*>/ig;
const htmlLinkRe = /<a(?:|\s[^>]+)>[^<>]*<\/a\s*>/gi;
module.exports = {
"names": [ "MD034", "no-bare-urls" ],