Fix JavaScript lint errors
維護者通常 1 天內回覆
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- eslint, javascript
- 領域
- tooling
研究方向
The failures are in the example files named in the log, such as lib/node_modules/@stdlib/assert/is-configurable-property-in/examples/index.js (eol-open-bracket-spacing) and lib/node_modules/@stdlib/string/remove-utf8-bom/examples/index.js (doctest). Read the log's line numbers, then run the JavaScript lint target for those files. Done means those files lint clean. Pull request #16139 is already open against this issue, so check it before starting.
由索引模型根據 Issue 內容生成。
描述
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/38487926047
- Type: JavaScript Linting
- Date: 2026-10-14 00:10:41 UTC
Error Details
make[1]: Entering directory '/home/runner/work/stdlib/stdlib'
Linting file: lib/node_modules/@stdlib/assert/is-relative-uri/examples/index.js
Linting file: lib/node_modules/@stdlib/array/base/fancy-slice/examples/index.js
Linting file: lib/node_modules/@stdlib/string/examples/index.js
Linting file: lib/node_modules/@stdlib/assert/is-configurable-property-in/examples/index.js
/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/assert/is-configurable-property-in/examples/index.js
25:12 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
33:8 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
37:8 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
✖ 3 problems (3 errors, 0 warnings)
3 errors and 0 warnings potentially fixable with the `--fix` option.
Linting failed.
Linting file: lib/node_modules/@stdlib/string/remove-utf8-bom/examples/index.js
/home/runner/work/stdlib/stdlib/lib/node_modules/@stdlib/string/remove-utf8-bom/examples/index.js
27:1 error Displayed return value is `boop\ufeff`, but expected `boop` instead stdlib/doctest
31:1 error Displayed return value is `be\ufeffbop`, but expected `bebop` instead stdlib/doctest
✖ 2 problems (2 errors, 0 warnings)
2 errors and 0 warnings potentially fixable with the `--fix` option.
Linting failed.
Linting file: lib/node_modules/@stdlib/stats/array/meanpn/examples/index.js
Linting file: lib/node_modules/@stdlib/process/umask/examples/index.js
Linting file: lib/node_modules/@stdlib/stats/base/ndarray/dvariance/examples/index.js
Linting file: lib/node_modules/@stdlib/stats/base/dists/normal/skewness/examples/index.js
μ: 1.9581, σ: 16.6563, skew(X;μ,σ): 0.0000
μ: -1.5429, σ: 17.6018, skew(X;μ,σ): 0.0000
μ: 3.9191, σ: 8.4898, skew(X;μ,σ): 0.0000
μ: 0.6959, σ: 0.5511, skew(X;μ,σ): 0.0000
μ: 4.5132, σ: 2.1367, skew(X;μ,σ): 0.0000
μ: -1.9799, σ: 19.3472, skew(X;μ,σ): 0.0000
μ: -3.1450, σ: 0.8523, skew(X;μ,σ): 0.0000
μ: -3.4725, σ: 18.1537, skew(X;μ,σ): 0.0000
μ: 0.0781, σ: 15.3200, skew(X;μ,σ): 0.0000
μ: 4.1261, σ: 2.6463, skew(X;μ,σ): 0.0000
Linting file: lib/node_modules/@stdlib/utils/omit-by/examples/index.js
Linting file: lib/node_modules/@stdlib/blas/ext/base/ssort2sh/examples/index.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>".
- 主要語言
- JavaScript
- 星號
- 6k
- 分支
- 1.3k
- 平均合併
- 1 天 21 小時
- 30 天內合併 PR
- 224
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
stdlib-js/stdlib 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
stdlib-js/stdlib#16655 · 1 則留言 ·
維護者通常 1 天內回覆
-
Fix JavaScript lint errors可能已有人在做 @protestershankar 於 5 天前認領。 未關閉Good First Issue
難度 2/5 1-3 小時 新手友好度 82/100
stdlib-js/stdlib#16563 · 3 則留言 ·
維護者通常 1 天內回覆
-
Fix C lint errors可能已有人在做 @raus7n 於 14 天前認領。 未關閉Good First Issue
難度 1/5 1 小時以內 新手友好度 82/100
stdlib-js/stdlib#16454 · 1 則留言 ·
維護者通常 1 天內回覆
-
Fix JavaScript lint errors可能已有人在做 @Devansh-18155 於 39 天前認領。 未關閉Good First Issue
難度 1/5 1 小時以內 新手友好度 82/100
stdlib-js/stdlib#15970 · 1 則留言 ·
維護者通常 1 天內回覆
-
Fix JavaScript lint errors可能已有人在做 @lb1192176991-lab 於 44 天前認領。 未關閉Good First Issue
難度 1/5 1 小時以內 新手友好度 90/100
stdlib-js/stdlib#15831 · 2 則留言 ·
維護者通常 1 天內回覆
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 69/100
維護者通常 1 天內回覆
-
automation chore ci-cd consistency developer-experience difficulty: easy discoverability documentation enhancement github-actions good first issue help wanted hygiene priority: P3 seo shell yaml
難度 1/5 1 小時以內 新手友好度 76/100
-
bug
難度 2/5 1-3 小時 新手友好度 84/100
swc-project/swc-next-issues#394 ·
-
難度 1/5 1-3 小時 新手友好度 88/100
githubnext/gh-aw-workshop#5790 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
adobe/helix-tools-website#480 ·
維護者通常 1 天內回覆