From 095f0cdfca8b6e330a026637f161a8cc64a17224 Mon Sep 17 00:00:00 2001 From: kaushal-kumar-it Date: Thu, 13 Nov 2025 14:01:51 +0530 Subject: [PATCH 1/2] chore: fix JavaScript lint errors (issue #8515) --- .../pkgs/entry-points/lib/resolve.sync.js | 4 +- .../ndarray/slice-to/benchmark/benchmark.js | 110 +++++++++--------- 2 files changed, 57 insertions(+), 57 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/resolve.sync.js b/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/resolve.sync.js index 46d0e56d74f3..8a7dd9ab0db4 100644 --- a/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/resolve.sync.js +++ b/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/resolve.sync.js @@ -56,7 +56,7 @@ function getPkgs( pkgs, basedir ) { len = pkgs.length; debug( 'Resolving %d packages...', len ); - out = new Array( len ); + out = []; for ( i = 0; i < len; i++ ) { pkg = pkgs[ i ]; k = i + 1; @@ -65,7 +65,7 @@ function getPkgs( pkgs, basedir ) { opts = { 'basedir': basedir }; - out[ i ] = {}; + out.push( {} ); out[ i ].pkg = pkg; main = resolve( pkg, opts ); diff --git a/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js b/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js index 5e3bc9868412..61fedb37569c 100644 --- a/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js @@ -69,11 +69,11 @@ bench( pkg+'::0d,non-base', function benchmark( b ) { /* eslint-disable object-curly-newline */ values = [ - empty( [], { 'dtype': 'float64' } ), - empty( [], { 'dtype': 'float32' } ), - empty( [], { 'dtype': 'int32' } ), - empty( [], { 'dtype': 'complex128' } ), - empty( [], { 'dtype': 'generic' } ) + empty( [], { 'dtype': 'float64' }), + empty( [], { 'dtype': 'float32' }), + empty( [], { 'dtype': 'int32' }), + empty( [], { 'dtype': 'complex128' }), + empty( [], { 'dtype': 'generic' }) ]; /* eslint-enable object-curly-newline */ @@ -134,11 +134,11 @@ bench( pkg+'::1d,non-base', function benchmark( b ) { /* eslint-disable object-curly-newline */ values = [ - empty( [ 2 ], { 'dtype': 'float64' } ), - empty( [ 2 ], { 'dtype': 'float32' } ), - empty( [ 2 ], { 'dtype': 'int32' } ), - empty( [ 2 ], { 'dtype': 'complex128' } ), - empty( [ 2 ], { 'dtype': 'generic' } ) + empty( [ 2 ], { 'dtype': 'float64' }), + empty( [ 2 ], { 'dtype': 'float32' }), + empty( [ 2 ], { 'dtype': 'int32' }), + empty( [ 2 ], { 'dtype': 'complex128' }), + empty( [ 2 ], { 'dtype': 'generic' }) ]; /* eslint-enable object-curly-newline */ @@ -204,11 +204,11 @@ bench( pkg+'::1d,non-base,out-of-bounds', function benchmark( b ) { /* eslint-disable object-curly-newline */ values = [ - empty( [ 2 ], { 'dtype': 'float64' } ), - empty( [ 2 ], { 'dtype': 'float32' } ), - empty( [ 2 ], { 'dtype': 'int32' } ), - empty( [ 2 ], { 'dtype': 'complex128' } ), - empty( [ 2 ], { 'dtype': 'generic' } ) + empty( [ 2 ], { 'dtype': 'float64' }), + empty( [ 2 ], { 'dtype': 'float32' }), + empty( [ 2 ], { 'dtype': 'int32' }), + empty( [ 2 ], { 'dtype': 'complex128' }), + empty( [ 2 ], { 'dtype': 'generic' }) ]; /* eslint-enable object-curly-newline */ @@ -272,11 +272,11 @@ bench( pkg+'::2d,non-base', function benchmark( b ) { /* eslint-disable object-curly-newline */ values = [ - empty( [ 2, 2 ], { 'dtype': 'float64' } ), - empty( [ 2, 2 ], { 'dtype': 'float32' } ), - empty( [ 2, 2 ], { 'dtype': 'int32' } ), - empty( [ 2, 2 ], { 'dtype': 'complex128' } ), - empty( [ 2, 2 ], { 'dtype': 'generic' } ) + empty( [ 2, 2 ], { 'dtype': 'float64' }), + empty( [ 2, 2 ], { 'dtype': 'float32' }), + empty( [ 2, 2 ], { 'dtype': 'int32' }), + empty( [ 2, 2 ], { 'dtype': 'complex128' }), + empty( [ 2, 2 ], { 'dtype': 'generic' }) ]; /* eslint-enable object-curly-newline */ @@ -342,11 +342,11 @@ bench( pkg+'::2d,non-base,out-of-bounds', function benchmark( b ) { /* eslint-disable object-curly-newline */ values = [ - empty( [ 2, 2 ], { 'dtype': 'float64' } ), - empty( [ 2, 2 ], { 'dtype': 'float32' } ), - empty( [ 2, 2 ], { 'dtype': 'int32' } ), - empty( [ 2, 2 ], { 'dtype': 'complex128' } ), - empty( [ 2, 2 ], { 'dtype': 'generic' } ) + empty( [ 2, 2 ], { 'dtype': 'float64' }), + empty( [ 2, 2 ], { 'dtype': 'float32' }), + empty( [ 2, 2 ], { 'dtype': 'int32' }), + empty( [ 2, 2 ], { 'dtype': 'complex128' }), + empty( [ 2, 2 ], { 'dtype': 'generic' }) ]; /* eslint-enable object-curly-newline */ @@ -410,11 +410,11 @@ bench( pkg+'::3d,non-base', function benchmark( b ) { /* eslint-disable object-curly-newline */ values = [ - empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ), - empty( [ 2, 2, 2 ], { 'dtype': 'float32' } ), - empty( [ 2, 2, 2 ], { 'dtype': 'int32' } ), - empty( [ 2, 2, 2 ], { 'dtype': 'complex128' } ), - empty( [ 2, 2, 2 ], { 'dtype': 'generic' } ) + empty( [ 2, 2, 2 ], { 'dtype': 'float64' }), + empty( [ 2, 2, 2 ], { 'dtype': 'float32' }), + empty( [ 2, 2, 2 ], { 'dtype': 'int32' }), + empty( [ 2, 2, 2 ], { 'dtype': 'complex128' }), + empty( [ 2, 2, 2 ], { 'dtype': 'generic' }) ]; /* eslint-enable object-curly-newline */ @@ -480,11 +480,11 @@ bench( pkg+'::3d,non-base,out-of-bounds', function benchmark( b ) { /* eslint-disable object-curly-newline */ values = [ - empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ), - empty( [ 2, 2, 2 ], { 'dtype': 'float32' } ), - empty( [ 2, 2, 2 ], { 'dtype': 'int32' } ), - empty( [ 2, 2, 2 ], { 'dtype': 'complex128' } ), - empty( [ 2, 2, 2 ], { 'dtype': 'generic' } ) + empty( [ 2, 2, 2 ], { 'dtype': 'float64' }), + empty( [ 2, 2, 2 ], { 'dtype': 'float32' }), + empty( [ 2, 2, 2 ], { 'dtype': 'int32' }), + empty( [ 2, 2, 2 ], { 'dtype': 'complex128' }), + empty( [ 2, 2, 2 ], { 'dtype': 'generic' }) ]; /* eslint-enable object-curly-newline */ @@ -548,11 +548,11 @@ bench( pkg+'::4d,non-base', function benchmark( b ) { /* eslint-disable object-curly-newline */ values = [ - empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' } ), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' } ), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' } ), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } ) + empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' }), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' }), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' }), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' }), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' }) ]; /* eslint-enable object-curly-newline */ @@ -618,11 +618,11 @@ bench( pkg+'::4d,non-base,out-of-bounds', function benchmark( b ) { /* eslint-disable object-curly-newline */ values = [ - empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' } ), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' } ), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' } ), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } ) + empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' }), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' }), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' }), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' }), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' }) ]; /* eslint-enable object-curly-newline */ @@ -686,11 +686,11 @@ bench( pkg+'::5d,non-base', function benchmark( b ) { /* eslint-disable object-curly-newline */ values = [ - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' } ), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' } ), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' } ), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } ) + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' }), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' }), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' }), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' }), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' }) ]; /* eslint-enable object-curly-newline */ @@ -756,11 +756,11 @@ bench( pkg+'::5d,non-base,out-of-bounds', function benchmark( b ) { /* eslint-disable object-curly-newline */ values = [ - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' } ), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' } ), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' } ), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } ) + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' }), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' }), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' }), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' }), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' }) ]; /* eslint-enable object-curly-newline */ From 1decce33aa4953cc8dcf92e9eaff60c12a13d4e9 Mon Sep 17 00:00:00 2001 From: Athan Date: Thu, 13 Nov 2025 00:44:19 -0800 Subject: [PATCH 2/2] style: disable lint rule Signed-off-by: Athan --- .../ndarray/slice-to/benchmark/benchmark.js | 154 +++++++++--------- 1 file changed, 77 insertions(+), 77 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js b/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js index 61fedb37569c..e4ff920a74b6 100644 --- a/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js @@ -66,17 +66,17 @@ bench( pkg+'::0d,non-base', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ - empty( [], { 'dtype': 'float64' }), - empty( [], { 'dtype': 'float32' }), - empty( [], { 'dtype': 'int32' }), - empty( [], { 'dtype': 'complex128' }), - empty( [], { 'dtype': 'generic' }) + empty( [], { 'dtype': 'float64' } ), + empty( [], { 'dtype': 'float32' } ), + empty( [], { 'dtype': 'int32' } ), + empty( [], { 'dtype': 'complex128' } ), + empty( [], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = []; @@ -131,17 +131,17 @@ bench( pkg+'::1d,non-base', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ - empty( [ 2 ], { 'dtype': 'float64' }), - empty( [ 2 ], { 'dtype': 'float32' }), - empty( [ 2 ], { 'dtype': 'int32' }), - empty( [ 2 ], { 'dtype': 'complex128' }), - empty( [ 2 ], { 'dtype': 'generic' }) + empty( [ 2 ], { 'dtype': 'float64' } ), + empty( [ 2 ], { 'dtype': 'float32' } ), + empty( [ 2 ], { 'dtype': 'int32' } ), + empty( [ 2 ], { 'dtype': 'complex128' } ), + empty( [ 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1 ]; @@ -201,17 +201,17 @@ bench( pkg+'::1d,non-base,out-of-bounds', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ - empty( [ 2 ], { 'dtype': 'float64' }), - empty( [ 2 ], { 'dtype': 'float32' }), - empty( [ 2 ], { 'dtype': 'int32' }), - empty( [ 2 ], { 'dtype': 'complex128' }), - empty( [ 2 ], { 'dtype': 'generic' }) + empty( [ 2 ], { 'dtype': 'float64' } ), + empty( [ 2 ], { 'dtype': 'float32' } ), + empty( [ 2 ], { 'dtype': 'int32' } ), + empty( [ 2 ], { 'dtype': 'complex128' } ), + empty( [ 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ -20 ]; opts = { @@ -269,17 +269,17 @@ bench( pkg+'::2d,non-base', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ - empty( [ 2, 2 ], { 'dtype': 'float64' }), - empty( [ 2, 2 ], { 'dtype': 'float32' }), - empty( [ 2, 2 ], { 'dtype': 'int32' }), - empty( [ 2, 2 ], { 'dtype': 'complex128' }), - empty( [ 2, 2 ], { 'dtype': 'generic' }) + empty( [ 2, 2 ], { 'dtype': 'float64' } ), + empty( [ 2, 2 ], { 'dtype': 'float32' } ), + empty( [ 2, 2 ], { 'dtype': 'int32' } ), + empty( [ 2, 2 ], { 'dtype': 'complex128' } ), + empty( [ 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, 1 ]; @@ -339,17 +339,17 @@ bench( pkg+'::2d,non-base,out-of-bounds', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ - empty( [ 2, 2 ], { 'dtype': 'float64' }), - empty( [ 2, 2 ], { 'dtype': 'float32' }), - empty( [ 2, 2 ], { 'dtype': 'int32' }), - empty( [ 2, 2 ], { 'dtype': 'complex128' }), - empty( [ 2, 2 ], { 'dtype': 'generic' }) + empty( [ 2, 2 ], { 'dtype': 'float64' } ), + empty( [ 2, 2 ], { 'dtype': 'float32' } ), + empty( [ 2, 2 ], { 'dtype': 'int32' } ), + empty( [ 2, 2 ], { 'dtype': 'complex128' } ), + empty( [ 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ -20, null ]; opts = { @@ -407,17 +407,17 @@ bench( pkg+'::3d,non-base', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ - empty( [ 2, 2, 2 ], { 'dtype': 'float64' }), - empty( [ 2, 2, 2 ], { 'dtype': 'float32' }), - empty( [ 2, 2, 2 ], { 'dtype': 'int32' }), - empty( [ 2, 2, 2 ], { 'dtype': 'complex128' }), - empty( [ 2, 2, 2 ], { 'dtype': 'generic' }) + empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ), + empty( [ 2, 2, 2 ], { 'dtype': 'float32' } ), + empty( [ 2, 2, 2 ], { 'dtype': 'int32' } ), + empty( [ 2, 2, 2 ], { 'dtype': 'complex128' } ), + empty( [ 2, 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, 1, 1 ]; @@ -477,17 +477,17 @@ bench( pkg+'::3d,non-base,out-of-bounds', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ - empty( [ 2, 2, 2 ], { 'dtype': 'float64' }), - empty( [ 2, 2, 2 ], { 'dtype': 'float32' }), - empty( [ 2, 2, 2 ], { 'dtype': 'int32' }), - empty( [ 2, 2, 2 ], { 'dtype': 'complex128' }), - empty( [ 2, 2, 2 ], { 'dtype': 'generic' }) + empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ), + empty( [ 2, 2, 2 ], { 'dtype': 'float32' } ), + empty( [ 2, 2, 2 ], { 'dtype': 'int32' } ), + empty( [ 2, 2, 2 ], { 'dtype': 'complex128' } ), + empty( [ 2, 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, -20, null ]; opts = { @@ -545,17 +545,17 @@ bench( pkg+'::4d,non-base', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ - empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' }), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' }), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' }), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' }), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' }) + empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' } ), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' } ), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' } ), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, 1, 1, 1 ]; @@ -615,17 +615,17 @@ bench( pkg+'::4d,non-base,out-of-bounds', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ - empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' }), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' }), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' }), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' }), - empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' }) + empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' } ), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' } ), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' } ), + empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, 1, -20, null ]; opts = { @@ -683,17 +683,17 @@ bench( pkg+'::5d,non-base', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' }), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' }), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' }), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' }), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' }) + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' } ), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' } ), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' } ), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, 1, 1, 1, 1 ]; @@ -753,17 +753,17 @@ bench( pkg+'::5d,non-base,out-of-bounds', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' }), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' }), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' }), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' }), - empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' }) + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' } ), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' } ), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' } ), + empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, 1, 1, -20, null ]; opts = {