Skip to content

Commit ec29b0e

Browse files
committed
Fix lint errors
1 parent 7c02b22 commit ec29b0e

File tree

15 files changed

+9
-16
lines changed

15 files changed

+9
-16
lines changed

lib/node_modules/@stdlib/bench/harness/test/test.harness.init.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@ tape( 'if an error occurs during iteration determination, the function modifies
407407
t.strictEqual( options.skip, false, 'does not change `skip` option' );
408408
t.strictEqual( options.timeout, 60000, 'does not change `timeout` option' );
409409

410-
411410
t.strictEqual( options.iterations, 1, 'iterations set to 1' );
412411
t.strictEqual( options.repeats, 1, 'repeats set to 1' );
413412

lib/node_modules/@stdlib/bench/harness/test/test.runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ tape( 'if not an `objectMode` stream, the stream returned from the `createStream
698698
b.tic();
699699
for ( i = 0; i < b.iterations; i++ ) {
700700
x = (randu()*100.0) - 50.0;
701-
y = Math.sin( x );
701+
y = Math.sin( x ); // eslint-disable-line stdlib/no-builtin-math
702702
if ( y < -1.0 || y > 1.0 ) {
703703
b.fail( 'something went wrong!' );
704704
}

lib/node_modules/@stdlib/fastmath/special/abs/test/test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,3 @@ tape( 'if provided `NaN`, the function returns `NaN`', function test( t ) {
6161
t.equal( isnan( v ), true, 'returns NaN' );
6262
t.end();
6363
});
64-

lib/node_modules/@stdlib/ml/online-binary-classification/test/test.learner.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,4 +383,3 @@ tape( 'the `predict` method throws an error if the `type` is `probability` for a
383383
};
384384
}
385385
});
386-

lib/node_modules/@stdlib/ml/online-sgd-regression/lib/eta_factory.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ function closure( type, eta0, lambda ) {
7373
return eta0;
7474
}
7575

76-
7776
/**
7877
* Returns the Pegasos learning rate.
7978
*

lib/node_modules/@stdlib/ml/online-sgd-regression/test/test.weight_vector.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ tape( 'the `add` method adds a vector `x` to the weights', function test( t ) {
166166

167167
expected = [ 4.0, 5.0, 6.0, 3.0 ];
168168

169-
170169
// eslint-disable-next-line no-underscore-dangle
171170
t.deepEqual( weights._data, expected, 'weights are equal to [4,5,6,3]' );
172171
t.end();

lib/node_modules/@stdlib/os/configdir/lib/configdir.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ var homedir = require( '@stdlib/os/homedir' );
4040
* @example
4141
* var dir = configdir();
4242
* // e.g., returns '/Users/<username>/Library/Preferences'
43+
*
4344
* @example
4445
* var dir = configdir( 'appname/config' );
4546
* // e.g., returns '/Users/<username>/Library/Preferences/appname/config'

lib/node_modules/@stdlib/process/read-stdin/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var stream = require( '@stdlib/streams/base/stdin' );
4242
* throw error;
4343
* }
4444
* console.log( data.toString() );
45-
* // returns '...'
45+
* // => '...'
4646
* }
4747
*
4848
* stdin( onRead );
@@ -53,7 +53,7 @@ var stream = require( '@stdlib/streams/base/stdin' );
5353
* throw error;
5454
* }
5555
* console.log( data );
56-
* // returns '...'
56+
* // => '...'
5757
* }
5858
*
5959
* stdin( 'utf8', onRead );

lib/node_modules/@stdlib/random/base/gamma/lib/factory.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ function factory() {
151151
pow( rand(), 1.0/alpha );
152152
}
153153

154-
155154
/**
156155
* Returns a pseudorandom number drawn from a gamma distribution.
157156
*

lib/node_modules/@stdlib/random/base/minstd-shuffle/lib/factory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function factory( seed ) {
115115
* @returns {number} pseudorandom number
116116
*
117117
* @example
118-
* var v = normalized()
118+
* var v = normalized();
119119
* // returns <number>
120120
*/
121121
function normalized() {

0 commit comments

Comments
 (0)