From 0da725a50fb3f0cac263a8a178a2ac019da63593 Mon Sep 17 00:00:00 2001 From: ShreelaxmiHegde Date: Tue, 6 Jan 2026 01:36:27 +0000 Subject: [PATCH 1/2] fix: brackate spacing js lint error --- .../base/flipud/benchmark/benchmark.js | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/base/flipud/benchmark/benchmark.js b/lib/node_modules/@stdlib/ndarray/base/flipud/benchmark/benchmark.js index a4dcdcbd5aec..0dd998229567 100644 --- a/lib/node_modules/@stdlib/ndarray/base/flipud/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/base/flipud/benchmark/benchmark.js @@ -66,11 +66,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 */ @@ -126,11 +126,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 */ @@ -186,11 +186,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 */ @@ -246,11 +246,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 */ @@ -306,11 +306,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 */ From c5e3abb97d5072ceb5e9b68186cef64ff5f706e7 Mon Sep 17 00:00:00 2001 From: Athan Date: Mon, 5 Jan 2026 17:50:36 -0800 Subject: [PATCH 2/2] style: disable lint rule --- 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 --- --- .../base/flipud/benchmark/benchmark.js | 70 +++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/base/flipud/benchmark/benchmark.js b/lib/node_modules/@stdlib/ndarray/base/flipud/benchmark/benchmark.js index 0dd998229567..f5b173f40e83 100644 --- a/lib/node_modules/@stdlib/ndarray/base/flipud/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/base/flipud/benchmark/benchmark.js @@ -63,17 +63,17 @@ bench( pkg+'::1d,non-base', function benchmark( b ) { var v; 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 */ b.tic(); for ( i = 0; i < b.iterations; i++ ) { @@ -123,17 +123,17 @@ bench( pkg+'::2d,non-base', function benchmark( b ) { var v; 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 */ b.tic(); for ( i = 0; i < b.iterations; i++ ) { @@ -183,17 +183,17 @@ bench( pkg+'::3d,non-base', function benchmark( b ) { var v; 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 */ b.tic(); for ( i = 0; i < b.iterations; i++ ) { @@ -243,17 +243,17 @@ bench( pkg+'::4d,non-base', function benchmark( b ) { var v; 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 */ b.tic(); for ( i = 0; i < b.iterations; i++ ) { @@ -303,17 +303,17 @@ bench( pkg+'::5d,non-base', function benchmark( b ) { var v; 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 */ b.tic(); for ( i = 0; i < b.iterations; i++ ) {