From dfe24257ceb3ddddcc75723b39f9032adaf0e720 Mon Sep 17 00:00:00 2001 From: Merlin Beutlberger Date: Fri, 20 Nov 2020 21:26:55 +0100 Subject: [PATCH] [INTERNAL] ESLint: Enforce max line length --- .eslintrc.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 2922fe11..edba0339 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -32,7 +32,14 @@ module.exports = { "no-negated-condition": "off", "require-jsdoc": "off", "no-mixed-requires": "off", - "max-len": ["warn", 120], + "max-len": [ + "error", + { + "code": 120, + "ignoreUrls": true, + "ignoreRegExpLiterals": true + } + ], "no-implicit-coercion": [ 2, {"allow": ["!!"]}