Skip to content

Commit 805dff5

Browse files
committed
resolve eslint errors #8129
1 parent 930998f commit 805dff5

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

lib/node_modules/@stdlib/_tools/github/create-repo/lib/factory.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ function factory( options, clbk ) {
9595
throw new TypeError( format( 'invalid argument. Repository name must be a string. Value: `%s`.', name ) );
9696
}
9797
query( name, opts, done );
98-
/**
98+
}
99+
100+
/**
99101
* Callback invoked after receiving an API response.
100102
*
101103
* @private
@@ -104,12 +106,11 @@ function factory( options, clbk ) {
104106
* @param {Object} info - response info
105107
* @returns {void}
106108
*/
107-
function done( error, data, info ) {
108-
error = error || null;
109-
data = data || null;
110-
info = info || null;
111-
clbk( error, data, info );
112-
}
109+
function done( error, data, info ) {
110+
error = error || null;
111+
data = data || null;
112+
info = info || null;
113+
clbk( error, data, info );
113114
}
114115
}
115116

lib/node_modules/@stdlib/assert/is-method/examples/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222

2323
var isMethod = require( './../lib' );
2424

25-
var bool = isMethod( { 'a': isMethod }, 'a' );
25+
var bool = isMethod({ 'a': isMethod }, 'a');
2626
console.log( bool );
2727
// => true
2828

29-
bool = isMethod( { 'a': 'b' }, 'a' );
29+
bool = isMethod({ 'a': 'b' }, 'a');
3030
console.log( bool );
3131
// => false
3232

33-
bool = isMethod( { 'a': 'b' }, null );
33+
bool = isMethod({ 'a': 'b' }, null);
3434
console.log( bool );
3535
// => false
3636

@@ -46,10 +46,10 @@ bool = isMethod( void 0, 'a' );
4646
console.log( bool );
4747
// => false
4848

49-
bool = isMethod( { 'null': isMethod }, null );
49+
bool = isMethod({ 'null': isMethod }, null);
5050
console.log( bool );
5151
// => true
5252

53-
bool = isMethod( { '[object Object]': isMethod }, {} );
53+
bool = isMethod({ '[object Object]': isMethod }, {});
5454
console.log( bool );
5555
// => true

lib/node_modules/@stdlib/ndarray/base/shape2strides/benchmark/benchmark.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ bench( pkg+':assign:order=row-major', function benchmark( b ) {
9393
shape[ 1 ] = floor( randu()*10 );
9494
shape[ 2 ] = floor( randu()*10 );
9595

96+
// eslint-disable-next-line stdlib/no-new-array
9697
out = new Array( shape.length );
9798

9899
b.tic();
@@ -121,6 +122,7 @@ bench( pkg+':assign:order=column-major', function benchmark( b ) {
121122
shape[ 1 ] = floor( randu()*10 );
122123
shape[ 2 ] = floor( randu()*10 );
123124

125+
// eslint-disable-next-line stdlib/no-new-array
124126
out = new Array( shape.length );
125127

126128
b.tic();

0 commit comments

Comments
 (0)