Skip to content

Commit d3ccc30

Browse files
fix: lint errors
1 parent a939020 commit d3ccc30

File tree

2 files changed

+31
-30
lines changed

2 files changed

+31
-30
lines changed

lib/node_modules/@stdlib/array/base/unary5d-by/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function unary5dBy( arrays, shape, fcn, clbk ) {
107107
x0 = x1[ i1 ];
108108
y0 = y1[ i1 ];
109109
for ( i0 = 0; i0 < S0; i0++ ) {
110-
v = clbk.call( thisArg, x0[ i0 ], [ i4, i3, i2, i1, i0 ], [ x, y ] ); //eslint-disable max-len
110+
v = clbk.call( thisArg, x0[ i0 ], [ i4, i3, i2, i1, i0 ], [ x, y ] ); // eslint-disable max-len
111111
if ( v !== void 0 ) {
112112
y0[ i0 ] = fcn( v );
113113
}

lib/node_modules/@stdlib/array/base/unary5d-by/test/test.js

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -55,21 +55,21 @@ tape( 'the function applies a function to each nested input array element accord
5555
x = [
5656
[
5757
[
58-
[
59-
[ -1.0, -2.0 ],
60-
[ -3.0, -4.0 ]
61-
]
58+
[
59+
[ -1.0, -2.0 ],
60+
[ -3.0, -4.0 ]
61+
]
6262
]
6363
]
6464
];
6565

6666
expected = [
6767
[
6868
[
69-
[
70-
[ 2.0, 4.0 ],
71-
[ 6.0, 8.0 ]
72-
]
69+
[
70+
[ 2.0, 4.0 ],
71+
[ 6.0, 8.0 ]
72+
]
7373
]
7474
]
7575
];
@@ -83,21 +83,21 @@ tape( 'the function applies a function to each nested input array element accord
8383
x = [
8484
[
8585
[
86-
[
87-
[ -1.0, void 0 ],
88-
[ void 0, -4.0 ]
89-
]
86+
[
87+
[ -1.0, void 0 ],
88+
[ void 0, -4.0 ]
89+
]
9090
]
9191
]
9292
];
9393

9494
expected = [
9595
[
9696
[
97-
[
98-
[ 2.0, 0.0 ],
99-
[ 0.0, 8.0 ]
100-
]
97+
[
98+
[ 2.0, 0.0 ],
99+
[ 0.0, 8.0 ]
100+
]
101101
]
102102
]
103103
];
@@ -119,10 +119,10 @@ tape( 'the function does not invoke provided functions if provided a shape havin
119119
x = [
120120
[
121121
[
122-
[
123-
[ -1.0, -2.0 ],
124-
[ -3.0, -4.0 ]
125-
]
122+
[
123+
[ -1.0, -2.0 ],
124+
[ -3.0, -4.0 ]
125+
]
126126
]
127127
]
128128
];
@@ -150,10 +150,10 @@ tape( 'the function does not invoke provided functions if provided a shape havin
150150
x = [
151151
[
152152
[
153-
[
154-
[ -1.0, -2.0 ],
155-
[ -3.0, -4.0 ]
156-
]
153+
[
154+
[ -1.0, -2.0 ],
155+
[ -3.0, -4.0 ]
156+
]
157157
]
158158
]
159159
];
@@ -242,10 +242,10 @@ tape( 'the function invokes the callback with three arguments', function test( t
242242
x = [
243243
[
244244
[
245-
[
246-
[ -1.0, -2.0 ],
247-
[ -3.0, -4.0 ]
248-
]
245+
[
246+
[ -1.0, -2.0 ],
247+
[ -3.0, -4.0 ]
248+
]
249249
]
250250
]
251251
];
@@ -321,4 +321,5 @@ tape( 'the function supports providing a callback execution context', function t
321321
this.count += 1; // eslint-disable-line no-invalid-this
322322
return v * 2.0;
323323
}
324-
});
324+
});
325+
w

0 commit comments

Comments
 (0)