Skip to content

Fix JavaScript lint errors #12722

@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/ndarray/ind2sub/test/test.validate.js

Linting file: lib/node_modules/@stdlib/complex/float64/base/identity/test/test.js

Linting file: lib/node_modules/@stdlib/blas/ext/base/ssortins/test/test.js

Linting file: lib/node_modules/@stdlib/blas/ext/base/dcuany/test/test.js

Linting file: lib/node_modules/@stdlib/napi/argv-strided-uint8array/test/test.browser.js

Linting file: lib/node_modules/@stdlib/ndarray/base/count-if/test/test.5d.js

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

Linting file: lib/node_modules/@stdlib/blas/base/idamax/test/test.idamax.native.js

/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/blas/base/idamax/test/test.idamax.native.js
 69:6  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
 69:6  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
 89:6  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
 89:6  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
107:6  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
107:6  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

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

Linting failed.

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

Linting file: lib/node_modules/@stdlib/random/streams/geometric/test/test.factory.js

Linting file: lib/node_modules/@stdlib/_tools/github/user-repos/test/fixtures/opts.js

Linting file: lib/node_modules/@stdlib/ndarray/index/test/test.main.js

Linting file: lib/node_modules/@stdlib/number/float64/base/to-int32/test/test.js

Linting file: lib/node_modules/@stdlib/assert/is-number/test/test.object.js

/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/assert/is-number/test/test.object.js
71:9  error  The 'Symbol.toStringTag' is still an experimental feature and is not supported until Node.js 6.0.0. The configured version range is '>=0.12.18'  n/no-unsupported-features/es-builtins

✖ 1 problem (1 error, 0 warnings)

Linting failed.
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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions