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>2022-01-21 18:28:07 +0300
committerGitHub <noreply@github.com>2022-01-21 18:28:07 +0300
commit870044ffa124209f18e82aff4c7bc902fb80e749 (patch)
tree446ceba6fb5a70a86122fe7ea2b8e078a41c613f /.eslintrc.js
parent74867f713a704fe422473e3bba0dae9bc09907e2 (diff)
tools: increase maximum line length to 120 characters
PR-URL: https://github.com/nodejs/node/pull/41586 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Tierney Cyren <hello@bnb.im>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 3f2d4ace7c0..2ba2f71b45b 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -163,7 +163,7 @@ module.exports = {
'keyword-spacing': 'error',
'linebreak-style': ['error', 'unix'],
'max-len': ['error', {
- code: 80,
+ code: 120,
ignorePattern: '^// Flags:',
ignoreRegExpLiterals: true,
ignoreTemplateLiterals: true,
@@ -186,7 +186,6 @@ module.exports = {
'no-proto': 'error',
'no-redeclare': ['error', { 'builtinGlobals': false }],
'no-restricted-modules': ['error', 'sys'],
- /* eslint-disable max-len */
'no-restricted-properties': [
'error',
{
@@ -239,7 +238,6 @@ module.exports = {
message: 'Use Number.isNaN() instead of the global isNaN() function.',
},
],
- /* eslint-enable max-len */
'no-return-await': 'error',
'no-self-compare': 'error',
'no-tabs': 'error',