Skip to content

Fix JavaScript lint errors #10722

@stdlib-bot

Description

@stdlib-bot

JavaScript Linting Failures

Linting failures were detected in the automated JavaScript lint workflow run.

Workflow Details

Error Details

make[1]: Entering directory '/home/runner/work/stdlib/stdlib'

Linting file: lib/node_modules/@stdlib/stats/base/dists/arcsine/variance/test/test.native.js

Linting file: lib/node_modules/@stdlib/stats/strided/nanmin/test/test.ndarray.js

Linting file: lib/node_modules/@stdlib/stats/base/dists/cauchy/pdf/test/test.pdf.js

Linting file: lib/node_modules/@stdlib/math/strided/special/smskrsqrt/test/test.ndarray.js

Linting file: lib/node_modules/@stdlib/blas/base/srotm/test/test.ndarray.js

/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/blas/base/srotm/test/test.ndarray.js
290:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
290:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
297:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
297:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
326:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
326:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
333:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
333:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
373:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
373:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
380:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
380:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
409:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
409:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
416:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
416:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
480:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
480:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
487:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
487:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
516:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
516:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
523:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
523:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
562:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
562:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
569:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
569:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
598:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
598:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
605:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
605:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
669:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
669:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
676:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
676:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
705:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
705:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing
712:7  error  No spaces allowed between an opening parenthesis or bracket and a nested object or array expression at the end of a line       stdlib/eol-open-bracket-spacing
712:7  error  No spaces allowed between a closing parenthesis or bracket and a nested object or array expression at the beginning of a line  stdlib/line-closing-bracket-spacing

✖ 40 problems (40 errors, 0 warnings)
40 errors and 0 warnings potentially fixable with the `--fix` option.

Linting failed.

Linting file: lib/node_modules/@stdlib/assert/has-uint32array-support/test/test.js

Linting file: lib/node_modules/@stdlib/stats/strided/dmskmaxabs/test/test.dmskmaxabs.native.js

Linting file: lib/node_modules/@stdlib/blas/ext/base/dsum/test/test.ndarray.native.js

Linting file: lib/node_modules/@stdlib/stats/meanpn/test/test.assign.js

Linting file: lib/node_modules/@stdlib/napi/argv-int64/test/test.js
make[1]: *** [/home/runner/work/stdlib/stdlib/tools/make/lib/lint/javascript/eslint.mk:261: eslint-files] Error 1
make[1]: Leaving directory '/home/runner/work/stdlib/stdlib'
make: *** [/home/runner/work/stdlib/stdlib/tools/make/lib/lint/javascript/Makefile:158: lint-javascript-files] Error 2

Pull Request Instructions

  • Please use the following PR title format:
    "chore: fix JavaScript lint errors (issue #<ISSUE_NUMBER>)".
  • Reference this issue in the "Related Issues" section of the PR body as "resolves #<ISSUE_NUMBER>".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueA good first issue for new contributors!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions