From 61cf386d6df9d8fbed496c4308a4086bfd6d074a Mon Sep 17 00:00:00 2001 From: Michael Wuergler Date: Sun, 9 Jun 2019 00:59:36 +0200 Subject: [PATCH] Fix user links (#22) * linting tweaks * ignore username only links * disable max-len rule in tests * 3.1.3 --- index.js | 23 ++++++++++++++++++++--- package.json | 2 +- test.js | 5 +++++ 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 7952b50..73f553e 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,7 @@ module.exports = function (str) { throw new TypeError('get-video-id expects a string'); } - if (/