Skip to content

Commit 47678cb

Browse files
chore: fix JavaScript lint errors
PR-URL: #8075 Closes: #8043 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent 9f40b8f commit 47678cb

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

lib/node_modules/@stdlib/assert/is-blank-string/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
2525

2626
// VARIABLES //
2727

28-
var RE = /^[\u0009\u000A\u000B\u000C\u000D\u0020\u0085\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/;
28+
var RE = /^[\u0009\u000A\u000B\u000C\u000D\u0020\u0085\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/; // eslint-disable-line no-control-regex
2929

3030

3131
// MAIN //

lib/node_modules/@stdlib/cli/ctor/lib/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
* var CLI = require( '@stdlib/cli/ctor' );
2828
*
2929
* var opts = {
30-
* 'pkg': require( './path/to/package.json' ),
3130
* 'help': 'Usage: beep [options] <boop>',
3231
* 'title': 'foo',
3332
* 'updates': true,

lib/node_modules/@stdlib/utils/zip/lib/main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,23 +155,23 @@ function zip() {
155155
}
156156
}
157157
}
158-
out = new Array( len );
158+
out = [];
159159
for ( j = 0; j < len; j++ ) {
160160
// Temporary array to store tuples...
161-
arr = new Array( nargs );
161+
arr = [];
162162

163163
// Create the tuples...
164164
for ( i = 0; i < nargs; i++ ) {
165165
arg = args[ i ];
166166

167167
// If an array is too short, use a fill value...
168168
if ( arg.length <= j ) {
169-
arr[ i ] = fill;
169+
arr.push( fill );
170170
continue;
171171
}
172-
arr[ i ] = arg[ j ];
172+
arr.push( arg[ j ] );
173173
}
174-
out[ j ] = arr;
174+
out.push( arr );
175175
}
176176
return out;
177177
}

0 commit comments

Comments
 (0)