Skip to content

Commit 170e907

Browse files
committed
Fix lint errors and warnings
1 parent 0482ab2 commit 170e907

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

lib/node_modules/@stdlib/math/base/special/pow/lib/pow.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ function pow( x, y ) {
273273
}
274274
if ( isInfinite( x ) ) {
275275
if ( x === NINF ) {
276-
// pow( 1/x, -y )
276+
// `pow( 1/x, -y )`
277277
return pow( -0.0, -y );
278278
}
279279
if ( y < 0.0 ) {
@@ -286,7 +286,7 @@ function pow( x, y ) {
286286
x < 0.0 &&
287287
isInteger( y ) === false
288288
) {
289-
// signal NaN...
289+
// Signal NaN...
290290
return (x-x)/(x-x);
291291
}
292292
ax = abs( x );
@@ -318,19 +318,19 @@ function pow( x, y ) {
318318
if ( ahx < HIGH_MAX_NEAR_UNITY ) {
319319
// y < 0
320320
if ( sy === 1 ) {
321-
// signal overflow...
321+
// Signal overflow...
322322
return sx * HUGE * HUGE;
323323
}
324-
// signal underflow...
324+
// Signal underflow...
325325
return sx * TINY * TINY;
326326
}
327327
if ( ahx > HIGH_BIASED_EXP_0 ) {
328328
// y > 0
329329
if ( sy === 0 ) {
330-
// signal overflow...
330+
// Signal overflow...
331331
return sx * HUGE * HUGE;
332332
}
333-
// signal underflow...
333+
// Signal underflow...
334334
return sx * TINY * TINY;
335335
}
336336
// At this point, `|1-x|` is tiny (`<= 2^-20`). Suffice to compute `log(x)` by `x - x^2/2 + x^3/3 - x^4/4`.
@@ -355,11 +355,11 @@ function pow( x, y ) {
355355
if ( j >= HIGH_BIASED_EXP_10 ) {
356356
// z > 1024
357357
if ( ((j-HIGH_BIASED_EXP_10)|i) !== 0 ) {
358-
// signal overflow...
358+
// Signal overflow...
359359
return sx * HUGE * HUGE;
360360
}
361361
if ( (lp+OVT) > (z-hp) ) {
362-
// signal overflow...
362+
// Signal overflow...
363363
return sx * HUGE * HUGE;
364364
}
365365
}

lib/node_modules/@stdlib/regexp/color-hexadecimal/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
5858
* - end of character sequence
5959
*
6060
* - `|`
61-
* -
61+
* - or
6262
*
6363
* - `^`
6464
* - match anything that begins with

lib/node_modules/@stdlib/regexp/decimal-number/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
/**
3939
* Captures a decimal number.
4040
*
41-
* Regular expression: `/([-+]{0,1}[0-9]*\.[0-9]+)/
41+
* Regular expression: `/([-+]{0,1}[0-9]*\.[0-9]+)/`
4242
*
4343
* - `()`
4444
* - capture

lib/node_modules/@stdlib/regexp/function-name/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function fname( fcn ) {
2626
return RE_FUNCTION_NAME.exec( fcn.toString() )[ 1 ];
2727
}
2828

29-
console.log( fname( Math.sqrt ) );
29+
console.log( fname( Math.sqrt ) ); // eslint-disable-line stdlib/no-builtin-math
3030
// => 'sqrt'
3131

3232
console.log( fname( Int8Array ) );

0 commit comments

Comments
 (0)