Skip to content

Commit 744286a

Browse files
committed
Resolve lint errors
1 parent 5e70641 commit 744286a

File tree

22 files changed

+36
-24
lines changed

22 files changed

+36
-24
lines changed

lib/node_modules/@stdlib/_tools/licenses/header-regexp-table/lib/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
var isArray = require( '@stdlib/assert/is-array' );
2424
var licenseHeader = require( '@stdlib/_tools/licenses/header' );
2525
var escapeRegExp = require( '@stdlib/utils/escape-regexp-string' );
26+
var format = require( '@stdlib/string/format' );
2627
var replace = require( '@stdlib/string/replace' );
2728
var trim = require( '@stdlib/string/trim' );
2829

lib/node_modules/@stdlib/math/base/assert/is-nonnegative-finite/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* Test if a double-precision floating-point numeric value is a nonnegative finite number.
2323
*
24-
* @module @stdlib/assert/is-nonnegative-finite
24+
* @module @stdlib/math/base/assert/is-nonnegative-finite
2525
*
2626
* @example
2727
* var isNonNegativeFinite = require( '@stdlib/math/base/assert/is-nonnegative-finite' );

lib/node_modules/@stdlib/math/base/assert/is-nonpositive-finite/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* Tests if a double-precision floating-point numeric value is a nonpositive finite number.
22+
* Test if a double-precision floating-point numeric value is a nonpositive finite number.
2323
*
2424
* @module @stdlib/math/base/assert/is-nonpositive-finite
2525
*

lib/node_modules/@stdlib/math/base/assert/is-positive-finite/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* Tests if a double-precision floating-point numeric value is a positive finite number.
22+
* Test if a double-precision floating-point numeric value is a positive finite number.
2323
*
2424
* @module @stdlib/math/base/assert/is-positive-finite
2525
*

lib/node_modules/@stdlib/object/ctor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ Returns a boolean indicating whether an object is in the prototype chain of anot
315315
```javascript
316316
var o = { 'a': 1 };
317317
var p = { '__proto__': o };
318-
var b = Object.prototype.isPrototypeOf( p );
318+
var b = o.isPrototypeOf( p );
319319
// returns true
320320
```
321321

@@ -439,7 +439,7 @@ var str = o.toString();
439439

440440
#### Object.prototype.valueOf()
441441

442-
Returns the primitive value of the specified object.
442+
Returns the primitive value of the object.
443443

444444
```javascript
445445
var o = {};

lib/node_modules/@stdlib/proxy/ctor/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* var x = p.a;
4747
* // returns 6.28
4848
*/
49-
var proxy = ( typeof Proxy === 'undefined' ) ? null : Proxy;
49+
var proxy = ( typeof Proxy === 'undefined' ) ? null : Proxy; // eslint-disable-line stdlib/require-globals, node/no-unsupported-features/es-builtins
5050

5151

5252
// EXPORTS //

lib/node_modules/@stdlib/stats/kde2d/lib/cosine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var cos = require( '@stdlib/math/base/special/cos' );
3939
* @example
4040
* var u = 5;
4141
* var out = cosine( u );
42-
* // returns 0
42+
* // returns 0.0
4343
*/
4444
function cosine(u) {
4545
if ( isnan( u ) ) {

lib/node_modules/@stdlib/stats/kde2d/lib/tricube.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var LEADING_TERM = ( 70.0 / 81.0 );
4242
* @example
4343
* var u = 5;
4444
* out = tricube(u);
45-
* // returns 0
45+
* // returns 0.0
4646
*/
4747
function tricube(u) {
4848
var absU;

lib/node_modules/@stdlib/stats/kstest/test/test.marsaglia.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ tape( 'the function correctly evaluates the CDF of D_n', function test( t ) {
4343
var n;
4444
var i;
4545

46-
d = [ 0.3, -0.1, 1.5, 0.5, 0.1, 0.1, 0.05, 0.05, 0.8, 0.274 ];
47-
n = [ 10.0, 10.0, 10.0, 20.0, 10.0, 20.0, 300.0, 80.0, 1.0, 10.0 ];
46+
d = [ 0.3, -0.1, 1.5, 0.5, 0.1, 0.1, 0.05, 0.05, 0.8, 0.274 ]; // eslint-disable-line array-element-newline
47+
n = [ 10.0, 10.0, 10.0, 20.0, 10.0, 20.0, 300.0, 80.0, 1.0, 10.0 ]; // eslint-disable-line array-element-newline
4848
expected = [
4949
0.7294644, 0.0, 1.0, 0.9999621, 0.0003629,
5050
0.0237449, 0.5725584, 0.0175789, 0.6, 0.6284796

lib/node_modules/@stdlib/stats/padjust/benchmark/benchmark.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
var bench = require( '@stdlib/bench' );
2424
var randu = require( '@stdlib/random/base/randu' );
2525
var isProbabilityArray = require( '@stdlib/assert/is-probability-array' );
26-
var isArray = require( '@stdlib/assert/is-array' );
2726
var pkg = require( './../package.json' ).name;
2827
var padjust = require( './../lib' );
2928

0 commit comments

Comments
 (0)