Skip to content

chore: fix JavaScript lint errors#13015

Merged
kgryte merged 1 commit into
stdlib-js:developfrom
titanniya542-spec:chore/fix-js-lint-12890
Jun 22, 2026
Merged

chore: fix JavaScript lint errors#13015
kgryte merged 1 commit into
stdlib-js:developfrom
titanniya542-spec:chore/fix-js-lint-12890

Conversation

@titanniya542-spec

Copy link
Copy Markdown
Contributor

Description

This pull request fixes the doctest annotation in the @stdlib/array/base/reject example. The reject implementation returns a plain array, so the example now documents the output as <Array> instead of <Int32Array>.

Related Issues

Resolves #12890

Checklist

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

This PR was authored with assistance from AI.

Validation

  • node --check lib/node_modules/@stdlib/array/base/reject/examples/index.js
  • git diff --check

Note: the full stdlib make lint-javascript-files target was not run locally because make is not installed in this Windows environment.

@titanniya542-spec titanniya542-spec requested a review from a team June 21, 2026 12:32
@stdlib-bot stdlib-bot added Needs Review A pull request which needs code review. Good First PR A pull request resolving a Good First Issue. labels Jun 21, 2026
@stdlib-bot

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
array/base/reject $\\color{green}182/182$
$\\color{green}+100.00\\%$
$\\color{green}11/11$
$\\color{green}+100.00\\%$
$\\color{green}3/3$
$\\color{green}+100.00\\%$
$\\color{green}182/182$
$\\color{green}+100.00\\%$

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

@kgryte kgryte added difficulty: 1 Low degree of difficulty. Should be straightforward to implement and/or resolve. review: 5 and removed Needs Review A pull request which needs code review. labels Jun 22, 2026
@kgryte kgryte changed the title chore: fix JavaScript lint errors (issue #12890) chore: fix JavaScript lint errors Jun 22, 2026
@kgryte kgryte merged commit 794978c into stdlib-js:develop Jun 22, 2026
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

difficulty: 1 Low degree of difficulty. Should be straightforward to implement and/or resolve. Good First PR A pull request resolving a Good First Issue. review: 5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix JavaScript lint errors

3 participants