Skip to content

Commit a8a9ef8

Browse files
committed
Fix lint errors
1 parent ca93264 commit a8a9ef8

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

lib/node_modules/@stdlib/math/base/special/abs/benchmark/benchmark.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ bench( pkg+'::built-in', function benchmark( b ) {
5858
b.tic();
5959
for ( i = 0; i < b.iterations; i++ ) {
6060
x = ( randu()*1000.0 ) - 500.0;
61-
y = Math.abs( x );
61+
y = Math.abs( x ); // eslint-disable-line stdlib/no-builtin-math
6262
if ( isnan( y ) ) {
6363
b.fail( 'should not return NaN' );
6464
}

lib/node_modules/@stdlib/math/base/special/atanh/benchmark/benchmark.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var atanh = require( './../lib' );
3030
// VARIABLES //
3131

3232
var opts = {
33-
'skip': ( typeof Math.atanh !== 'function' )
33+
'skip': ( typeof Math.atanh !== 'function' ) // eslint-disable-line stdlib/no-builtin-math
3434
};
3535

3636

@@ -65,7 +65,7 @@ bench( pkg+'::built-in', opts, function benchmark( b ) {
6565
b.tic();
6666
for ( i = 0; i < b.iterations; i++ ) {
6767
x = ( randu()*2.0 ) - 1.0;
68-
y = Math.atanh( x );
68+
y = Math.atanh( x ); // eslint-disable-line stdlib/no-builtin-math
6969
if ( isnan( y ) ) {
7070
b.fail( 'should not return NaN' );
7171
}

lib/node_modules/@stdlib/math/base/special/hypot/benchmark/benchmark.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var hypot = require( './../lib' );
3030
// VARIABLES //
3131

3232
var opts = {
33-
'skip': ( typeof Math.hypot !== 'function' )
33+
'skip': ( typeof Math.hypot !== 'function' ) // eslint-disable-line stdlib/no-builtin-math
3434
};
3535

3636

@@ -69,7 +69,7 @@ bench( pkg+'::built-in', opts, function benchmark( b ) {
6969
for ( i = 0; i < b.iterations; i++ ) {
7070
x = ( randu()*100.0 ) - 50.0;
7171
y = ( randu()*100.0 ) - 50.0;
72-
z = Math.hypot( x, y );
72+
z = Math.hypot( x, y ); // eslint-disable-line stdlib/no-builtin-math
7373
if ( isnan( z ) ) {
7474
b.fail( 'should not return NaN' );
7575
}

lib/node_modules/@stdlib/math/base/special/max/benchmark/benchmark.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ bench( pkg+'::built-in', function benchmark( b ) {
6262
for ( i = 0; i < b.iterations; i++ ) {
6363
x = ( randu()*1000.0 ) - 500.0;
6464
y = ( randu()*1000.0 ) - 500.0;
65-
z = Math.max( x, y );
65+
z = Math.max( x, y ); // eslint-disable-line stdlib/no-builtin-math
6666
if ( isnan( z ) ) {
6767
b.fail( 'should not return NaN' );
6868
}

lib/node_modules/@stdlib/math/base/special/min/benchmark/benchmark.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ bench( pkg+'::built-in', function benchmark( b ) {
6262
for ( i = 0; i < b.iterations; i++ ) {
6363
x = ( randu()*1000.0 ) - 500.0;
6464
y = ( randu()*1000.0 ) - 500.0;
65-
z = Math.min( x, y );
65+
z = Math.min( x, y ); // eslint-disable-line stdlib/no-builtin-math
6666
if ( isnan( z ) ) {
6767
b.fail( 'should not return NaN' );
6868
}

lib/node_modules/@stdlib/math/base/special/signum/benchmark/benchmark.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var signum = require( './../lib' );
3030
// VARIABLES //
3131

3232
var opts = {
33-
'skip': ( typeof Math.sign !== 'function' )
33+
'skip': ( typeof Math.sign !== 'function' ) // eslint-disable-line stdlib/no-builtin-math
3434
};
3535

3636

@@ -65,7 +65,7 @@ bench( pkg+'::built-in', opts, function benchmark( b ) {
6565
b.tic();
6666
for ( i = 0; i < b.iterations; i++ ) {
6767
x = ( randu()*1000.0 ) - 500.0;
68-
y = Math.sign( x );
68+
y = Math.sign( x ); // eslint-disable-line stdlib/no-builtin-math
6969
if ( isnan( y ) ) {
7070
b.fail( 'should not return NaN' );
7171
}

lib/node_modules/@stdlib/regexp/native-function/benchmark/benchmark.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ bench( pkg, function benchmark( b ) {
4242
fcn2str.call( benchmark ),
4343
fcn2str.call( bench ),
4444
fcn2str.call( isBoolean ),
45-
fcn2str.call( Math.sqrt ),
45+
fcn2str.call( Math.sqrt ), // eslint-disable-line stdlib/no-builtin-math
4646
fcn2str.call( Date ),
4747
fcn2str.call( RegExp ),
4848
fcn2str.call( b.fail ),

0 commit comments

Comments
 (0)