| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2248401 commit 57ada37
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -163,7 +163,7 @@ module.exports = { | |||
| 163 | 163 | 'keyword-spacing': 'error', | |
| 164 | 164 | 'linebreak-style': ['error', 'unix'], | |
| 165 | 165 | 'max-len': ['error', { | |
| 166 | - code: 80, | ||
| 166 | + code: 120, | ||
| 167 | 167 | ignorePattern: '^// Flags:', | |
| 168 | 168 | ignoreRegExpLiterals: true, | |
| 169 | 169 | ignoreTemplateLiterals: true, | |
@@ -186,7 +186,6 @@ module.exports = { | |||
| 186 | 186 | 'no-proto': 'error', | |
| 187 | 187 | 'no-redeclare': ['error', { 'builtinGlobals': false }], | |
| 188 | 188 | 'no-restricted-modules': ['error', 'sys'], | |
| 189 | - /* eslint-disable max-len */ | ||
| 190 | 189 | 'no-restricted-properties': [ | |
| 191 | 190 | 'error', | |
| 192 | 191 | { | |
@@ -239,7 +238,6 @@ module.exports = { | |||
| 239 | 238 | message: 'Use Number.isNaN() instead of the global isNaN() function.', | |
| 240 | 239 | }, | |
| 241 | 240 | ], | |
| 242 | - /* eslint-enable max-len */ | ||
| 243 | 241 | 'no-return-await': 'error', | |
| 244 | 242 | 'no-self-compare': 'error', | |
| 245 | 243 | 'no-tabs': 'error', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,6 @@ | |||
| 2 | 2 | import '../common/index.mjs'; | |
| 3 | 3 | import { strictEqual } from 'assert'; | |
| 4 | 4 | ||
| 5 | - // eslint-disable-next-line max-len | ||
| 6 | 5 | import secret from '../fixtures/experimental.json' assert { type: 'json', unsupportedAssertion: 'should ignore' }; | |
| 7 | 6 | ||
| 8 | 7 | strictEqual(secret.ofLife, 42); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -107,7 +107,7 @@ const expectedHeaderNames = { | |||
| 107 | 107 | HTTP2_HEADER_ACCEPT_LANGUAGE: 'accept-language', | |
| 108 | 108 | HTTP2_HEADER_ACCEPT_RANGES: 'accept-ranges', | |
| 109 | 109 | HTTP2_HEADER_ACCEPT: 'accept', | |
| 110 | - HTTP2_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS: 'access-control-allow-credentials', // eslint-disable-line max-len | ||
| 110 | + HTTP2_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS: 'access-control-allow-credentials', | ||
| 111 | 111 | HTTP2_HEADER_ACCESS_CONTROL_ALLOW_HEADERS: 'access-control-allow-headers', | |
| 112 | 112 | HTTP2_HEADER_ACCESS_CONTROL_ALLOW_METHODS: 'access-control-allow-methods', | |
| 113 | 113 | HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: 'access-control-allow-origin', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -136,7 +136,6 @@ addTest('a\x1baA\x1bA', [ | |||
| 136 | 136 | ]); | |
| 137 | 137 | ||
| 138 | 138 | // xterm/gnome ESC [ letter (with modifiers) | |
| 139 | - /* eslint-disable max-len */ | ||
| 140 | 139 | addTest('\x1b[2P\x1b[3P\x1b[4P\x1b[5P\x1b[6P\x1b[7P\x1b[8P\x1b[3Q\x1b[8Q\x1b[3R\x1b[8R\x1b[3S\x1b[8S', [ | |
| 141 | 140 | { name: 'f1', sequence: '\x1b[2P', code: '[P', shift: true, meta: false, ctrl: false }, | |
| 142 | 141 | { name: 'f1', sequence: '\x1b[3P', code: '[P', shift: false, meta: true, ctrl: false }, | |
@@ -152,7 +151,6 @@ addTest('\x1b[2P\x1b[3P\x1b[4P\x1b[5P\x1b[6P\x1b[7P\x1b[8P\x1b[3Q\x1b[8Q\x1b[3R\ | |||
| 152 | 151 | { name: 'f4', sequence: '\x1b[3S', code: '[S', meta: true }, | |
| 153 | 152 | { name: 'f4', sequence: '\x1b[8S', code: '[S', shift: true, meta: true, ctrl: true }, | |
| 154 | 153 | ]); | |
| 155 | - /* eslint-enable max-len */ | ||
| 156 | 154 | ||
| 157 | 155 | // xterm/gnome ESC O letter | |
| 158 | 156 | addTest('\x1bOP\x1bOQ\x1bOR\x1bOS', [ | |
@@ -250,7 +248,6 @@ addTest('\x1b[A\x1b[B\x1b[2A\x1b[2B', [ | |||
| 250 | 248 | ]); | |
| 251 | 249 | ||
| 252 | 250 | // `rxvt` keys with modifiers. | |
| 253 | - // eslint-disable-next-line max-len | ||
| 254 | 251 | addTest('\x1b[20~\x1b[2$\x1b[2^\x1b[3$\x1b[3^\x1b[5$\x1b[5^\x1b[6$\x1b[6^\x1b[7$\x1b[7^\x1b[8$\x1b[8^', [ | |
| 255 | 252 | { name: 'f9', sequence: '\x1b[20~', code: '[20~' }, | |
| 256 | 253 | { name: 'insert', sequence: '\x1b[2$', code: '[2$', shift: true }, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -844,7 +844,7 @@ const parseTests = { | |||
| 844 | 844 | hostname: 'a.b', | |
| 845 | 845 | hash: null, | |
| 846 | 846 | pathname: '/%09bc%0Adr%0Def%20g%22hq%27j%3Ckl%3E', | |
| 847 | - path: '/%09bc%0Adr%0Def%20g%22hq%27j%3Ckl%3E?mn%5Cop%5Eq=r%6099%7Bst%7Cuv%7Dwz', // eslint-disable-line max-len | ||
| 847 | + path: '/%09bc%0Adr%0Def%20g%22hq%27j%3Ckl%3E?mn%5Cop%5Eq=r%6099%7Bst%7Cuv%7Dwz', | ||
| 848 | 848 | search: '?mn%5Cop%5Eq=r%6099%7Bst%7Cuv%7Dwz', | |
| 849 | 849 | query: 'mn%5Cop%5Eq=r%6099%7Bst%7Cuv%7Dwz', | |
| 850 | 850 | href: 'http://a.b/%09bc%0Adr%0Def%20g%22hq%27j%3Ckl%3E?mn%5Cop%5Eq=r%6099%7Bst%7Cuv%7Dwz' | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2690,7 +2690,6 @@ assert.strictEqual( | |||
| 2690 | 2690 | ||
| 2691 | 2691 | expected = [ | |
| 2692 | 2692 | '[', | |
| 2693 | - /* eslint-disable max-len */ | ||
| 2694 | 2693 | ' \u001b[33m0\u001b[39m, \u001b[33m1\u001b[39m, \u001b[33m2\u001b[39m, \u001b[33m3\u001b[39m,', | |
| 2695 | 2694 | ' \u001b[33m4\u001b[39m, \u001b[33m5\u001b[39m, \u001b[33m6\u001b[39m, \u001b[33m7\u001b[39m,', | |
| 2696 | 2695 | ' \u001b[33m8\u001b[39m, \u001b[33m9\u001b[39m, \u001b[33m10\u001b[39m, \u001b[33m11\u001b[39m,', | |
@@ -2706,7 +2705,6 @@ assert.strictEqual( | |||
| 2706 | 2705 | ' \u001b[33m48\u001b[39m, \u001b[33m49\u001b[39m, \u001b[33m50\u001b[39m, \u001b[33m51\u001b[39m,', | |
| 2707 | 2706 | ' \u001b[33m52\u001b[39m, \u001b[33m53\u001b[39m, \u001b[33m54\u001b[39m, \u001b[33m55\u001b[39m,', | |
| 2708 | 2707 | ' \u001b[33m56\u001b[39m, \u001b[33m57\u001b[39m, \u001b[33m58\u001b[39m, \u001b[33m59\u001b[39m', | |
| 2709 | - /* eslint-enable max-len */ | ||
| 2710 | 2708 | ']', | |
| 2711 | 2709 | ].join('\n'); | |
| 2712 | 2710 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments