diff options
author | Rich Trott <rtrott@gmail.com> | 2021-04-05 17:19:42 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2021-04-07 14:16:35 +0300 |
commit | 038608d40105db8447afdf8a1b823eafe98b8a75 (patch) | |
tree | f2a221d90d7d5b6ac6b6e8a9c727c0c9dccc80a2 /.eslintrc.js | |
parent | 6986fa07ebdb49a842ad97fff4a3355abc243373 (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 9579162dcf8..27dd8aa10c3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -141,6 +141,7 @@ module.exports = { code: 80, ignorePattern: '^// Flags:', ignoreRegExpLiterals: true, + ignoreTemplateLiterals: true, ignoreUrls: true, tabWidth: 2, }], |