GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: simplify regex in ESLint config · nodejs/node@172cbfe

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .eslintrc.js
  • test/parallel
    • test-fs-readv-promises.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.eslintrc.js‎

Copy file name to clipboardExpand all lines: .eslintrc.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ module.exports = {
126126
line: {
127127
// Ignore all lines that have less characters than 20 and all lines that
128128
// start with something that looks like a variable name or code.
129-
// eslint-disable-next-line max-len
130-
ignorePattern: '.{0,20}$|[a-z]+ ?[0-9A-Z_.(/=:[#-]|std|http|ssh|ftp|(let|var|const) [a-z_A-Z0-9]+ =|[b-z] |[a-z]*[0-9].* ',
129+
ignorePattern: '.{0,20}$|[a-z]+ ?[0-9A-Z_.(/=:[#-]|std|http|ssh|ftp',
131130
ignoreInlineComments: true,
132131
ignoreConsecutiveComments: true,
133132
},
Collapse file

‎test/parallel/test-fs-readv-promises.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-fs-readv-promises.js
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const allocateEmptyBuffers = (combinedLength) => {
2929
const filename = getFileName();
3030
await fs.writeFile(filename, exptectedBuff);
3131
const handle = await fs.open(filename, 'r');
32-
// const buffer = Buffer.from(expected);
3332
const bufferArr = allocateEmptyBuffers(exptectedBuff.length);
3433
const expectedLength = exptectedBuff.length;
3534

@@ -49,7 +48,6 @@ const allocateEmptyBuffers = (combinedLength) => {
4948
const filename = getFileName();
5049
await fs.writeFile(filename, exptectedBuff);
5150
const handle = await fs.open(filename, 'r');
52-
// const buffer = Buffer.from(expected);
5351
const bufferArr = allocateEmptyBuffers(exptectedBuff.length);
5452
const expectedLength = exptectedBuff.length;
5553

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.