Skip to content

Commit aed85ce

Browse files
fixing linting errors
1 parent 87953f4 commit aed85ce

File tree

6 files changed

+19
-20
lines changed

6 files changed

+19
-20
lines changed

lib/node_modules/@stdlib/stats/incr/nanminmaxabs/benchmark/benchmark.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
"use strict";
19+
'use strict';
2020

2121
// MODULES //
2222

@@ -69,3 +69,4 @@ bench(pkg + "::accumulator", function benchmark(b) {
6969
b.pass("benchmark finished");
7070
b.end();
7171
});
72+
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
{{alias}}( [out] )
32
Returns an accumulator function which incrementally computes a minimum and
43
maximum absolute value.
@@ -7,8 +6,8 @@
76
maximum. If not provided a value, the accumulator function returns the
87
current minimum and maximum.
98

10-
If provided `NaN`, the accumulator ignores it and does not update the minimum or maximum values.
11-
9+
If provided `NaN`, the accumulator ignores it and does not update the
10+
minimum or maximum values.
1211

1312
Parameters
1413
----------
@@ -23,18 +22,18 @@
2322
Examples
2423
--------
2524
> var accumulator = {{alias}}();
26-
> var mm = accumulator()
25+
> var mm = accumulator();
2726
null
28-
> mm = accumulator( 2.0 )
29-
[ 2.0, 2.0 ]
30-
> mm = accumulator( -5.0 )
31-
[ 2.0, 5.0 ]
32-
> mm = accumulator( 3.0 )
33-
[ 2.0, 5.0 ]
34-
> mm = accumulator( 5.0 )
35-
[ 2.0, 5.0 ]
36-
> mm = accumulator()
37-
[ 2.0, 5.0 ]
27+
> mm = accumulator( 2.0 );
28+
[ 2, 2 ]
29+
> mm = accumulator( -5.0 );
30+
[ 2, 5 ]
31+
> mm = accumulator( 3.0 );
32+
[ 2, 5 ]
33+
> mm = accumulator( 5.0 );
34+
[ 2, 5 ]
35+
> mm = accumulator();
36+
[ 2, 5 ]
3837

3938
See Also
4039
--------

lib/node_modules/@stdlib/stats/incr/nanminmaxabs/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ declare function incrnanminmaxabs( out?: ArrayLike<number> ): accumulator;
6666

6767
// EXPORTS //
6868

69-
export = incrnanminmaxabs;
69+
export = incrnanminmaxabs;

lib/node_modules/@stdlib/stats/incr/nanminmaxabs/docs/types/tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ import incrnanminmaxabs from './index';
5858
acc( [] ); // $ExpectError
5959
acc( {} ); // $ExpectError
6060
acc( ( x: number ): number => x ); // $ExpectError
61-
}
61+
}

lib/node_modules/@stdlib/stats/incr/nanminmaxabs/lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
"use strict";
19+
'use strict';
2020

2121
/**
2222
* Compute minimum and maximum absolute values incrementally, **ignoring NaN values**.
@@ -52,7 +52,7 @@
5252

5353
// MODULES //
5454

55-
var main = require("./main.js");
55+
var main = require( './main' );
5656

5757
// EXPORTS //
5858

lib/node_modules/@stdlib/stats/incr/nanminmaxabs/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,3 @@
7272
"ignore NaNs"
7373
]
7474
}
75-

0 commit comments

Comments
 (0)