Skip to content

Commit dbbbba3

Browse files
committed
chore: fix JavaScript lint errors (issue #8043)
1 parent e9406ad commit dbbbba3

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
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 = /^[\t\n\v\f\r\u0020\u0085\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/;
2929

3030

3131
// MAIN //

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

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,23 @@
2424
* @module @stdlib/cli/ctor
2525
*
2626
* @example
27-
* var CLI = require( '@stdlib/cli/ctor' );
28-
*
2927
* var opts = {
30-
* 'pkg': require( './path/to/package.json' ),
31-
* 'help': 'Usage: beep [options] <boop>',
32-
* 'title': 'foo',
33-
* 'updates': true,
34-
* 'options': {
35-
* 'boolean': [
36-
* 'help',
37-
* 'version'
38-
* ]
39-
* }
28+
* 'pkg': {
29+
* 'name': 'beep',
30+
* 'version': '0.0.0'
31+
* },
32+
* 'help': 'Usage: beep [options] <boop>',
33+
* 'title': 'foo',
34+
* 'updates': true,
35+
* 'options': {
36+
* 'boolean': [
37+
* 'help',
38+
* 'version'
39+
* ]
40+
* }
4041
* };
42+
* var CLI = require( '@stdlib/cli/ctor' );
43+
*
4144
* var cli = new CLI( opts );
4245
* // returns <CLI>
4346
*

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ 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++ ) {

0 commit comments

Comments
 (0)