From e669d267c4050766bee6c9607dec55ddf0543d78 Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Sun, 28 Jul 2024 17:10:10 +0700 Subject: [PATCH] Enable permissive `max-len` and `max-lines` as warning (#84) --- index.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/index.js b/index.js index 8d89aa7..ff43688 100644 --- a/index.js +++ b/index.js @@ -409,6 +409,21 @@ module.exports = { }, ], 'max-depth': 'warn', + 'max-len': [ + 'warn', + { + code: 200, + ignoreComments: true, + ignoreUrls: true, + }, + ], + 'max-lines': [ + 'warn', + { + max: 1500, + skipComments: true, + }, + ], 'max-nested-callbacks': [ 'warn', 4,