Skip to content

Commit cdfbef2

Browse files
committed
test: ignore regex rule for no spaces
1 parent c43e583 commit cdfbef2

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

lib/internal/blob.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ class Blob {
127127

128128
/**
129129
* @param {SourcePart[]} [sources]
130-
* @param {{]
131-
*
130+
* @param {{
132131
* endings? : string,
133132
* type? : string,
134133
* }} [options]

lib/readline.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,11 @@ Interface.prototype._ttyWrite = function(s, key) {
12831283
/**
12841284
* Creates an `AsyncIterator` object that iterates through
12851285
* each line in the input stream as a string.
1286-
* @returns {symbol.AsyncIterator}
1286+
* @typedef {{
1287+
* [Symbol.asyncIterator]: () => InterfaceAsyncIterator,
1288+
* next: () => Promise<string>
1289+
* }} InterfaceAsyncIterator
1290+
* @returns {InterfaceAsyncIterator}
12871291
*/
12881292
Interface.prototype[SymbolAsyncIterator] = function() {
12891293
if (this[kLineObjectStream] === undefined) {

test/parallel/test-v8-untrusted-code-mitigations.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ assert.notStrictEqual(untrustedFlag, -1);
1515
const nextFlag = v8Options.indexOf('--', untrustedFlag + 2);
1616
const slice = v8Options.substring(untrustedFlag, nextFlag);
1717

18+
// eslint-disable-next-line no-regex-spaces
1819
assert(slice.match(/type: bool default: false/));

0 commit comments

Comments
 (0)