Skip to content

Commit 99766eb

Browse files
committed
Disable lint rule
1 parent 620f635 commit 99766eb

File tree

12 files changed

+19
-19
lines changed

12 files changed

+19
-19
lines changed

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

Lines changed: 1 addition & 1 deletion
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()*2.0 ) - 1.0;
61-
y = Math.acos( x );
61+
y = Math.acos( 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/acosh/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var acosh = require( './../lib' );
3030
// VARIABLES //
3131

3232
var opts = {
33-
'skip': ( typeof Math.acosh !== 'function' )
33+
'skip': ( typeof Math.acosh !== '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()*100.0 ) + 1.0;
68-
y = Math.acosh( x );
68+
y = Math.acosh( 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/asin/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
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()*2.0 ) - 1.0;
61-
y = Math.asin( x );
61+
y = Math.asin( 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/asinh/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var asinh = require( './../lib' );
3030
// VARIABLES //
3131

3232
var opts = {
33-
'skip': ( typeof Math.asinh !== 'function' )
33+
'skip': ( typeof Math.asinh !== '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()*200.0 ) - 100.0;
68-
y = Math.asinh( x );
68+
y = Math.asinh( 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/atan/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
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()*10000.0 ) - 0.0;
61-
y = Math.atan( x );
61+
y = Math.atan( 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/atan2/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var atan2 = require( './../lib' );
3030
// VARIABLES //
3131

3232
var opts = {
33-
'skip': ( typeof Math.atan2 !== 'function' )
33+
'skip': ( typeof Math.atan2 !== '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 ) - 0.0;
7171
y = ( randu()*100.0 ) - 0.0;
72-
z = Math.atan2( x, y );
72+
z = Math.atan2( 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/cbrt/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var cbrt = require( './../lib' );
3030
// VARIABLES //
3131

3232
var opts = {
33-
'skip': ( typeof Math.cbrt !== 'function' )
33+
'skip': ( typeof Math.cbrt !== '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.cbrt( x );
68+
y = Math.cbrt( 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/exp/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
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()*100.0 ) - 50.0;
61-
y = Math.exp( x );
61+
y = Math.exp( 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/ln/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
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()*10000.0 ) - 0.0;
61-
y = Math.log( x );
61+
y = Math.log( 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/sin/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
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()*20.0 ) - 10.0;
61-
y = Math.sin( x );
61+
y = Math.sin( 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/sincospi/benchmark/benchmark.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ bench( pkg+'::built-in', function benchmark( b ) {
127127
b.tic();
128128
for ( i = 0; i < b.iterations; i++ ) {
129129
x = ( randu()*20.0 ) - 10.0;
130-
y = [ Math.sin( Math.PI * x ), Math.cos( Math.PI * x ) ];
130+
y = [ Math.sin( Math.PI * x ), Math.cos( Math.PI * x ) ]; // eslint-disable-line stdlib/no-builtin-math
131131
if ( isnan( y[0] ) || isnan( y[1] ) ) {
132132
b.fail( 'should not return NaN' );
133133
}
@@ -149,8 +149,8 @@ bench( pkg+'::built-in,in-place', function benchmark( b ) {
149149
b.tic();
150150
for ( i = 0; i < b.iterations; i++ ) {
151151
x = ( randu()*20.0 ) - 10.0;
152-
y[0] = Math.sin( Math.PI * x );
153-
y[1] = Math.cos( Math.PI * x );
152+
y[0] = Math.sin( Math.PI * x ); // eslint-disable-line stdlib/no-builtin-math
153+
y[1] = Math.cos( Math.PI * x ); // eslint-disable-line stdlib/no-builtin-math
154154
if ( isnan( y[0] ) || isnan( y[1] ) ) {
155155
b.fail( 'should not return NaN' );
156156
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var sinh = require( './../lib' );
3030
// VARIABLES //
3131

3232
var opts = {
33-
'skip': ( typeof Math.sinh !== 'function' )
33+
'skip': ( typeof Math.sinh !== '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()*10.0 ) - 5.0;
68-
y = Math.sinh( x );
68+
y = Math.sinh( x ); // eslint-disable-line stdlib/no-builtin-math
6969
if ( isnan( y ) ) {
7070
b.fail( 'should not return NaN' );
7171
}

0 commit comments

Comments
 (0)