Skip to content

Commit 35f4223

Browse files
opbot-xdkgryte
andauthored
chore: fix JavaScript lint errors
PR-URL: #8766 Closes: #8759 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 611ea89 commit 35f4223

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

lib/node_modules/@stdlib/math/strided/special/aversin-by/test/test.main.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,17 @@ tape( 'the function computes the inverse versed sine via a callback function', f
7474
aversinBy( x.length, x, 1, y, 1, accessor );
7575
t.deepEqual( y, expected, 'deep equal' );
7676

77-
x = new Array( 5 ); // sparse array
77+
// Sparse array:
78+
x = new Array( 5 ); // eslint-disable-line stdlib/no-new-array
7879
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7980

8081
expected = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8182

8283
aversinBy( x.length, x, 1, y, 1, accessor );
8384
t.deepEqual( y, expected, 'deep equal' );
8485

85-
x = new Array( 5 ); // sparse array
86+
// Sparse array:
87+
x = new Array( 5 ); // eslint-disable-line stdlib/no-new-array
8688
x[ 2 ] = rand();
8789
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8890

lib/node_modules/@stdlib/math/strided/special/aversin-by/test/test.ndarray.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,17 @@ tape( 'the function computes the inverse versed sine via a callback function', f
7373
aversinBy( x.length, x, 1, 0, y, 1, 0, accessor );
7474
t.deepEqual( y, expected, 'deep equal' );
7575

76-
x = new Array( 5 ); // sparse array
76+
// Sparse array:
77+
x = new Array( 5 ); // eslint-disable-line stdlib/no-new-array
7778
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7879

7980
expected = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8081

8182
aversinBy( x.length, x, 1, 0, y, 1, 0, accessor );
8283
t.deepEqual( y, expected, 'deep equal' );
8384

84-
x = new Array( 5 ); // sparse array
85+
// Sparse array:
86+
x = new Array( 5 ); // eslint-disable-line stdlib/no-new-array
8587
x[ 2 ] = rand();
8688
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8789

0 commit comments

Comments
 (0)