stdlib-js / stdlib-js/stdlib

Fix JavaScript lint errors

オープン 初心者向け
#15,176 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
Good First Issue
主要言語
JavaScript
スター
6k
フォーク
1.3k
平均マージ
1日 3時間
マージ済み PR(30日)
611

説明

## JavaScript Linting Failures

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

### Workflow Details

- Run: https://github.com/stdlib-js/stdlib/actions/runs/34660299012
- Type: JavaScript Linting
- Date: 2026-09-12 00:15:06 UTC

### Error Details
```
make[1]: Entering directory '/home/runner/work/stdlib/stdlib'

Linting file: lib/node_modules/@stdlib/ndarray/base/assign/benchmark/benchmark.6d_blocked_rowmajor.js

Linting file: lib/node_modules/@stdlib/array/float16/benchmark/polyfill/benchmark.find_last_index.length.js

/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/array/float16/benchmark/polyfill/benchmark.find_last_index.length.js
19:1 error Unused eslint-disable directive (no problems were reported from 'stdlib/jsdoc-typedef-typos')

✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.

Linting failed.

Linting file: lib/node_modules/@stdlib/array/complex64/benchmark/benchmark.subarray.length.js

Linting file: lib/node_modules/@stdlib/stats/base/dists/hypergeometric/mean/benchmark/benchmark.native.js

Linting file: lib/node_modules/@stdlib/math/base/special/atan2/benchmark/benchmark.native.js

Linting file: lib/node_modules/@stdlib/blas/base/diagonal-type-resolve-enum/benchmark/benchmark.js

Linting file: lib/node_modules/@stdlib/blas/ext/base/cdiff/benchmark/benchmark.js

Linting file: lib/node_modules/@stdlib/number/float64/base/assert/is-same-value/benchmark/benchmark.native.js

Linting file: lib/node_modules/@stdlib/stats/base/dists/gamma/logcdf/benchmark/benchmark.js

Linting file: lib/node_modules/@stdlib/number/float64/base/to-words/benchmark/benchmark.native.js

Linting file: lib/node_modules/@stdlib/fft/base/fftpack/generic/sinti/benchmark/benchmark.js

Linting file: lib/node_modules/@stdlib/ndarray/base/reinterpret-complex64/benchmark/benchmark.js

Linting file: lib/node_modules/@stdlib/blas/base/drotm/benchmark/benchmark.js

Linting file: lib/node_modules/@stdlib/stats/base/dists/chisquare/stdev/benchmark/benchmark.native.js

Linting file: lib/node_modules/@stdlib/stats/strided/dsmeanwd/benchmark/benchmark.js

Linting file: lib/node_modules/@stdlib/blas/ext/base/drssbl/benchmark/benchmark.native.js

Linting file: lib/node_modules/@stdlib/blas/base/sswap/benchmark/benchmark.js

Linting file: lib/node_modules/@stdlib/array/fixed-endian-float32/benchmark/benchmark.to_string.length.js

Linting file: lib/node_modules/@stdlib/stats/strided/dsnanmeanors/benchmark/benchmark.js

Linting file: lib/node_modules/@stdlib/blas/ext/base/gindex-of-almost-same-value/benchmark/benchmark.js

Linting file: lib/node_modules/@stdlib/ndarray/base/clamp-index/benchmark/benchmark.js

Linting file: lib/node_modules/@stdlib/math/iter/special/tan/benchmark/benchmark.js

Linting file: lib/node_modules/@stdlib/ndarray/base/assert/is-integer-data-type/benchmark/benchmark.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 #)".
- Reference this issue in the "Related Issues" section of the PR body as "resolves #".

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with lib/node_modules/@stdlib/array/float16/benchmark/polyfill/benchmark.find_last_index.length.js, especially line 19 and the reported unused eslint-disable directive. Run the JavaScript lint target from tools/make/lib/lint/javascript/Makefile or reproduce the linked workflow check. Done means the reported lint error is gone and the JavaScript lint workflow passes.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
tooling
issue の種類
バグ
難易度
1/5
見積もり時間
1時間未満
活発さ
活発
明瞭さ
明確に書かれている
初心者へのやさしさ
88/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。