stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

chore: fix JavaScript lint errors (issue #8563)

Open kaushal-kumar-it opened this issue 1 month ago • 2 comments


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: passed
  • task: lint_javascript_tests status: na
  • 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

Resolves #8563.

Description

This pull request fixes JavaScript linting errors in the repository as specified in issue #8563.
The changes ensure correct require ordering and improve code quality in the affected JavaScript example files.

Related Issues

  • #8563

Questions

No.

Other

No.

Checklist

AI Assistance

  • [ ] Yes
  • [x] No

Disclosure

N/A


@stdlib-js/reviewers

kaushal-kumar-it avatar Nov 21 '25 13:11 kaushal-kumar-it

Coverage Report

Package Statements Branches Functions Lines
ndarray/for-each $\color{green}123/123$
$color{green}+100.00%$
$\color{green}7/7$
$color{green}+100.00%$
$\color{green}1/1$
$color{green}+100.00%$
$\color{green}123/123$
$color{green}+100.00%$

The above coverage report was generated for the changes in this PR.

stdlib-bot avatar Nov 21 '25 13:11 stdlib-bot

This PR performs a change similar to https://github.com/stdlib-js/stdlib/pull/8564. If that PR doesn't move forward, this PR can serve as a fallback. Otherwise, once that PR is merged, this PR should be auto-closed as a duplicate.

kgryte avatar Nov 26 '25 07:11 kgryte