diff options
author | Rich Trott <rtrott@gmail.com> | 2021-04-05 17:19:42 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2021-09-04 16:14:19 +0300 |
commit | d86d37bc9eadcfa8ff54d1a8991dd453906e37dc (patch) | |
tree | a4b76094ee117e48fb842f2f526bd4002a5dee38 /.eslintrc.js | |
parent | f2e1c2267ef2fc1cbb153de94d0ffd67f3ebe690 (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.js | 1 |
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, }], |