From fe4b658f5d6ebfdc36eeff2faf88bad0b4cac0a4 Mon Sep 17 00:00:00 2001 From: Partha Das Date: Mon, 2 Mar 2026 00:50:52 +0000 Subject: [PATCH] chore: fix JavaScript lint errors (issue #10621) --- 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: passed - task: lint_javascript_benchmarks status: na - 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 --- --- .../jsdoc-table-cell-padding/lib/main.js | 40 +++++++++---------- .../blas/base/dgemv/test/test.ndarray.js | 1 - 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-table-cell-padding/lib/main.js b/lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-table-cell-padding/lib/main.js index 41025b90ed9f..1b757faffc67 100644 --- a/lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-table-cell-padding/lib/main.js +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-table-cell-padding/lib/main.js @@ -40,6 +40,26 @@ var rule; // FUNCTIONS // +/** +* Copies AST node location info. +* +* @private +* @param {Object} loc - AST node location +* @returns {Object} copied location info +*/ +function copyLocationInfo( loc ) { + return { + 'start': { + 'line': loc.start.line, + 'column': loc.start.column + }, + 'end': { + 'line': loc.end.line, + 'column': loc.end.column + } + }; +} + /** * Rule to require Markdown table cells in JSDoc descriptions to be correctly padded. * @@ -115,26 +135,6 @@ function main( context ) { } } - /** - * Copies AST node location info. - * - * @private - * @param {Object} loc - AST node location - * @returns {Object} copied location info - */ - function copyLocationInfo( loc ) { - return { - 'start': { - 'line': loc.start.line, - 'column': loc.start.column - }, - 'end': { - 'line': loc.end.line, - 'column': loc.end.column - } - }; - } - /** * Reports an error message. * diff --git a/lib/node_modules/@stdlib/blas/base/dgemv/test/test.ndarray.js b/lib/node_modules/@stdlib/blas/base/dgemv/test/test.ndarray.js index 8b239302273c..0687216267e0 100644 --- a/lib/node_modules/@stdlib/blas/base/dgemv/test/test.ndarray.js +++ b/lib/node_modules/@stdlib/blas/base/dgemv/test/test.ndarray.js @@ -44,7 +44,6 @@ var cxpyp = require( './fixtures/column_major_xpyp.json' ); var cx = require( './fixtures/column_major_x_zeros.json' ); var cxb = require( './fixtures/column_major_x_zeros_beta_one.json' ); var ca = require( './fixtures/column_major_alpha_zero.json' ); - var rap = require( './fixtures/row_major_complex_access_pattern.json' ); var rnt = require( './fixtures/row_major_nt.json' ); var rt = require( './fixtures/row_major_t.json' );