Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-04-05 17:19:42 +0300
committerMichaƫl Zasso <targos@protonmail.com>2021-09-04 16:14:19 +0300
commitd86d37bc9eadcfa8ff54d1a8991dd453906e37dc (patch)
treea4b76094ee117e48fb842f2f526bd4002a5dee38 /.eslintrc.js
parentf2e1c2267ef2fc1cbb153de94d0ffd67f3ebe690 (diff)
tools: relax max-len lint rule for template strings
Splitting template strings across multiple lines can make them harder to read. PR-URL: https://github.com/nodejs/node/pull/38097 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index e28e42615ab..43b0b83806c 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -163,6 +163,7 @@ module.exports = {
code: 80,
ignorePattern: '^// Flags:',
ignoreRegExpLiterals: true,
+ ignoreTemplateLiterals: true,
ignoreUrls: true,
tabWidth: 2,
}],