From 79f17ef51ae6ebf86385eec0a58426150d2bbf02 Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Sun, 28 Jul 2024 13:39:20 +0700 Subject: [PATCH] Ignore comments and URLs --- index.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index f672ef3..51522de 100644 --- a/index.js +++ b/index.js @@ -409,11 +409,18 @@ module.exports = { 'max-depth': 'warn', 'max-len': [ 'warn', - 200, + { + code: 200, + ignoreComments: true, + ignoreUrls: true + }, ], 'max-lines': [ 'warn', - 2000, + { + max: 2000, + skipComments: true, + }, ], 'max-nested-callbacks': [ 'warn',