Skip to content

Commit bc9686b

Browse files
committed
chore: fix JavaScript lint errors
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent af6d054 commit bc9686b

2 files changed

Lines changed: 42 additions & 42 deletions

File tree

lib/node_modules/@stdlib/ndarray/slice-dimension-from/benchmark/benchmark.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ bench( format( '%s::1d,non-base', pkg ), function benchmark( b ) {
6767
var s;
6868
var i;
6969

70-
/* eslint-disable object-curly-newline */
70+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
7171

7272
values = [
7373
empty( [ 2 ], { 'dtype': 'float64' } ),
@@ -77,7 +77,7 @@ bench( format( '%s::1d,non-base', pkg ), function benchmark( b ) {
7777
empty( [ 2 ], { 'dtype': 'generic' } )
7878
];
7979

80-
/* eslint-enable object-curly-newline */
80+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
8181

8282
s = 0;
8383

@@ -137,7 +137,7 @@ bench( format( '%s::1d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
137137
var s;
138138
var i;
139139

140-
/* eslint-disable object-curly-newline */
140+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
141141

142142
values = [
143143
empty( [ 2 ], { 'dtype': 'float64' } ),
@@ -147,7 +147,7 @@ bench( format( '%s::1d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
147147
empty( [ 2 ], { 'dtype': 'generic' } )
148148
];
149149

150-
/* eslint-enable object-curly-newline */
150+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
151151

152152
s = 20;
153153
opts = {
@@ -205,7 +205,7 @@ bench( format( '%s::2d,non-base', pkg ), function benchmark( b ) {
205205
var s;
206206
var i;
207207

208-
/* eslint-disable object-curly-newline */
208+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
209209

210210
values = [
211211
empty( [ 2, 2 ], { 'dtype': 'float64' } ),
@@ -215,7 +215,7 @@ bench( format( '%s::2d,non-base', pkg ), function benchmark( b ) {
215215
empty( [ 2, 2 ], { 'dtype': 'generic' } )
216216
];
217217

218-
/* eslint-enable object-curly-newline */
218+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
219219

220220
s = 0;
221221

@@ -275,7 +275,7 @@ bench( format( '%s::2d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
275275
var s;
276276
var i;
277277

278-
/* eslint-disable object-curly-newline */
278+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
279279

280280
values = [
281281
empty( [ 2, 2 ], { 'dtype': 'float64' } ),
@@ -285,7 +285,7 @@ bench( format( '%s::2d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
285285
empty( [ 2, 2 ], { 'dtype': 'generic' } )
286286
];
287287

288-
/* eslint-enable object-curly-newline */
288+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
289289

290290
s = 20;
291291
opts = {
@@ -343,7 +343,7 @@ bench( format( '%s::3d,non-base', pkg ), function benchmark( b ) {
343343
var s;
344344
var i;
345345

346-
/* eslint-disable object-curly-newline */
346+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
347347

348348
values = [
349349
empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ),
@@ -353,7 +353,7 @@ bench( format( '%s::3d,non-base', pkg ), function benchmark( b ) {
353353
empty( [ 2, 2, 2 ], { 'dtype': 'generic' } )
354354
];
355355

356-
/* eslint-enable object-curly-newline */
356+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
357357

358358
s = 0;
359359

@@ -413,7 +413,7 @@ bench( format( '%s::3d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
413413
var s;
414414
var i;
415415

416-
/* eslint-disable object-curly-newline */
416+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
417417

418418
values = [
419419
empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ),
@@ -423,7 +423,7 @@ bench( format( '%s::3d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
423423
empty( [ 2, 2, 2 ], { 'dtype': 'generic' } )
424424
];
425425

426-
/* eslint-enable object-curly-newline */
426+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
427427

428428
s = 20;
429429
opts = {
@@ -481,7 +481,7 @@ bench( format( '%s::4d,non-base', pkg ), function benchmark( b ) {
481481
var s;
482482
var i;
483483

484-
/* eslint-disable object-curly-newline */
484+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
485485

486486
values = [
487487
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
@@ -491,7 +491,7 @@ bench( format( '%s::4d,non-base', pkg ), function benchmark( b ) {
491491
empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } )
492492
];
493493

494-
/* eslint-enable object-curly-newline */
494+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
495495

496496
s = 0;
497497

@@ -551,7 +551,7 @@ bench( format( '%s::4d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
551551
var s;
552552
var i;
553553

554-
/* eslint-disable object-curly-newline */
554+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
555555

556556
values = [
557557
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
@@ -561,7 +561,7 @@ bench( format( '%s::4d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
561561
empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } )
562562
];
563563

564-
/* eslint-enable object-curly-newline */
564+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
565565

566566
s = 20;
567567
opts = {
@@ -619,7 +619,7 @@ bench( format( '%s::5d,non-base', pkg ), function benchmark( b ) {
619619
var s;
620620
var i;
621621

622-
/* eslint-disable object-curly-newline */
622+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
623623

624624
values = [
625625
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
@@ -629,7 +629,7 @@ bench( format( '%s::5d,non-base', pkg ), function benchmark( b ) {
629629
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } )
630630
];
631631

632-
/* eslint-enable object-curly-newline */
632+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
633633

634634
s = 0;
635635

@@ -689,7 +689,7 @@ bench( format( '%s::5d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
689689
var s;
690690
var i;
691691

692-
/* eslint-disable object-curly-newline */
692+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
693693

694694
values = [
695695
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
@@ -699,7 +699,7 @@ bench( format( '%s::5d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
699699
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } )
700700
];
701701

702-
/* eslint-enable object-curly-newline */
702+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
703703

704704
s = 20;
705705
opts = {

lib/node_modules/@stdlib/ndarray/slice-from/benchmark/benchmark.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ bench( format( '%s::0d,non-base', pkg ), function benchmark( b ) {
6767
var s;
6868
var i;
6969

70-
/* eslint-disable object-curly-newline */
70+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
7171

7272
values = [
7373
empty( [], { 'dtype': 'float64' } ),
@@ -77,7 +77,7 @@ bench( format( '%s::0d,non-base', pkg ), function benchmark( b ) {
7777
empty( [], { 'dtype': 'generic' } )
7878
];
7979

80-
/* eslint-enable object-curly-newline */
80+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
8181

8282
s = [];
8383

@@ -132,7 +132,7 @@ bench( format( '%s::1d,non-base', pkg ), function benchmark( b ) {
132132
var s;
133133
var i;
134134

135-
/* eslint-disable object-curly-newline */
135+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
136136

137137
values = [
138138
empty( [ 2 ], { 'dtype': 'float64' } ),
@@ -142,7 +142,7 @@ bench( format( '%s::1d,non-base', pkg ), function benchmark( b ) {
142142
empty( [ 2 ], { 'dtype': 'generic' } )
143143
];
144144

145-
/* eslint-enable object-curly-newline */
145+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
146146

147147
s = [ 1 ];
148148

@@ -202,7 +202,7 @@ bench( format( '%s::1d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
202202
var s;
203203
var i;
204204

205-
/* eslint-disable object-curly-newline */
205+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
206206

207207
values = [
208208
empty( [ 2 ], { 'dtype': 'float64' } ),
@@ -212,7 +212,7 @@ bench( format( '%s::1d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
212212
empty( [ 2 ], { 'dtype': 'generic' } )
213213
];
214214

215-
/* eslint-enable object-curly-newline */
215+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
216216

217217
s = [ 20 ];
218218
opts = {
@@ -270,7 +270,7 @@ bench( format( '%s::2d,non-base', pkg ), function benchmark( b ) {
270270
var s;
271271
var i;
272272

273-
/* eslint-disable object-curly-newline */
273+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
274274

275275
values = [
276276
empty( [ 2, 2 ], { 'dtype': 'float64' } ),
@@ -280,7 +280,7 @@ bench( format( '%s::2d,non-base', pkg ), function benchmark( b ) {
280280
empty( [ 2, 2 ], { 'dtype': 'generic' } )
281281
];
282282

283-
/* eslint-enable object-curly-newline */
283+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
284284

285285
s = [ 1, 1 ];
286286

@@ -340,7 +340,7 @@ bench( format( '%s::2d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
340340
var s;
341341
var i;
342342

343-
/* eslint-disable object-curly-newline */
343+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
344344

345345
values = [
346346
empty( [ 2, 2 ], { 'dtype': 'float64' } ),
@@ -350,7 +350,7 @@ bench( format( '%s::2d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
350350
empty( [ 2, 2 ], { 'dtype': 'generic' } )
351351
];
352352

353-
/* eslint-enable object-curly-newline */
353+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
354354

355355
s = [ 20, null ];
356356
opts = {
@@ -408,7 +408,7 @@ bench( format( '%s::3d,non-base', pkg ), function benchmark( b ) {
408408
var s;
409409
var i;
410410

411-
/* eslint-disable object-curly-newline */
411+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
412412

413413
values = [
414414
empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ),
@@ -418,7 +418,7 @@ bench( format( '%s::3d,non-base', pkg ), function benchmark( b ) {
418418
empty( [ 2, 2, 2 ], { 'dtype': 'generic' } )
419419
];
420420

421-
/* eslint-enable object-curly-newline */
421+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
422422

423423
s = [ 1, 1, 1 ];
424424

@@ -478,7 +478,7 @@ bench( format( '%s::3d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
478478
var s;
479479
var i;
480480

481-
/* eslint-disable object-curly-newline */
481+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
482482

483483
values = [
484484
empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ),
@@ -488,7 +488,7 @@ bench( format( '%s::3d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
488488
empty( [ 2, 2, 2 ], { 'dtype': 'generic' } )
489489
];
490490

491-
/* eslint-enable object-curly-newline */
491+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
492492

493493
s = [ 1, 20, null ];
494494
opts = {
@@ -546,7 +546,7 @@ bench( format( '%s::4d,non-base', pkg ), function benchmark( b ) {
546546
var s;
547547
var i;
548548

549-
/* eslint-disable object-curly-newline */
549+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
550550

551551
values = [
552552
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
@@ -556,7 +556,7 @@ bench( format( '%s::4d,non-base', pkg ), function benchmark( b ) {
556556
empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } )
557557
];
558558

559-
/* eslint-enable object-curly-newline */
559+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
560560

561561
s = [ 1, 1, 1, 1 ];
562562

@@ -616,7 +616,7 @@ bench( format( '%s::4d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
616616
var s;
617617
var i;
618618

619-
/* eslint-disable object-curly-newline */
619+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
620620

621621
values = [
622622
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
@@ -626,7 +626,7 @@ bench( format( '%s::4d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
626626
empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } )
627627
];
628628

629-
/* eslint-enable object-curly-newline */
629+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
630630

631631
s = [ 1, 1, 20, null ];
632632
opts = {
@@ -684,7 +684,7 @@ bench( format( '%s::5d,non-base', pkg ), function benchmark( b ) {
684684
var s;
685685
var i;
686686

687-
/* eslint-disable object-curly-newline */
687+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
688688

689689
values = [
690690
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
@@ -694,7 +694,7 @@ bench( format( '%s::5d,non-base', pkg ), function benchmark( b ) {
694694
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } )
695695
];
696696

697-
/* eslint-enable object-curly-newline */
697+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
698698

699699
s = [ 1, 1, 1, 1, 1 ];
700700

@@ -754,7 +754,7 @@ bench( format( '%s::5d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
754754
var s;
755755
var i;
756756

757-
/* eslint-disable object-curly-newline */
757+
/* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */
758758

759759
values = [
760760
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
@@ -764,7 +764,7 @@ bench( format( '%s::5d,non-base,out-of-bounds', pkg ), function benchmark( b ) {
764764
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } )
765765
];
766766

767-
/* eslint-enable object-curly-newline */
767+
/* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */
768768

769769
s = [ 1, 1, 1, 20, null ];
770770
opts = {

0 commit comments

Comments
 (0)