Skip to content

Commit

Permalink
test: ignore regex rule for no spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleadams committed Feb 1, 2022
1 parent c43e583 commit cdfbef2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/internal/blob.js
Expand Up @@ -127,8 +127,7 @@ class Blob {

/**
* @param {SourcePart[]} [sources]
* @param {{]
*
* @param {{
* endings? : string,
* type? : string,
* }} [options]
Expand Down
6 changes: 5 additions & 1 deletion lib/readline.js
Expand Up @@ -1283,7 +1283,11 @@ Interface.prototype._ttyWrite = function(s, key) {
/**
* Creates an `AsyncIterator` object that iterates through
* each line in the input stream as a string.
* @returns {symbol.AsyncIterator}
* @typedef {{
* [Symbol.asyncIterator]: () => InterfaceAsyncIterator,
* next: () => Promise<string>
* }} InterfaceAsyncIterator
* @returns {InterfaceAsyncIterator}
*/
Interface.prototype[SymbolAsyncIterator] = function() {
if (this[kLineObjectStream] === undefined) {
Expand Down
1 change: 1 addition & 0 deletions test/parallel/test-v8-untrusted-code-mitigations.js
Expand Up @@ -15,4 +15,5 @@ assert.notStrictEqual(untrustedFlag, -1);
const nextFlag = v8Options.indexOf('--', untrustedFlag + 2);
const slice = v8Options.substring(untrustedFlag, nextFlag);

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

0 comments on commit cdfbef2

Please sign in to comment.