Skip to content

chore: fix JavaScript lint errors (issue #11147)#11156

Open
MANDEep22332 wants to merge 2 commits intostdlib-js:developfrom
MANDEep22332:fix-lint
Open

chore: fix JavaScript lint errors (issue #11147)#11156
MANDEep22332 wants to merge 2 commits intostdlib-js:developfrom
MANDEep22332:fix-lint

Conversation

@MANDEep22332
Copy link
Copy Markdown
Contributor

@MANDEep22332 MANDEep22332 commented Mar 26, 2026

Resolves #11147
.

Description

What is the purpose of this pull request?

This pull request:

  • {{TODO: Moved helper functions (onStringFormat, dropFirst, deleteComment, rewriteRequire, and hasRequire) from the transformer scope to the module scope to resolve stdlib/no-unnecessary-nested-functions}}

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

  • #{{TODO: add related issue number}}

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

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

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

{{TODO: add disclosure if applicable}}


@stdlib-js/reviewers

headlessNode and others added 2 commits March 26, 2026 11:53
PR-URL: stdlib-js#11144
Closes: stdlib-js/metr-issue-tracker#210
Co-authored-by: Athan Reines <kgryte@gmail.com>
Reviewed-by: Athan Reines <kgryte@gmail.com>
@stdlib-bot
Copy link
Copy Markdown
Contributor

Hello! Thank you for your contribution to stdlib.

We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:

  1. Please read our contributing guidelines.

  2. Update your pull request description to include this checked box:

    - [x] Read, understood, and followed the [contributing guidelines](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md)

This acknowledgment confirms that you've read the guidelines, which include:

  • The developer's certificate of origin
  • Your agreement to license your contributions under the project's terms

We can't review or accept contributions without this acknowledgment.

Thank you for your understanding and cooperation. We look forward to reviewing your contribution!

@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Mar 26, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

Coverage Report

No coverage information available.

@stdlib-bot stdlib-bot added the Good First PR A pull request resolving a Good First Issue. label Mar 26, 2026
@github-actions github-actions bot mentioned this pull request Mar 26, 2026
@stdlib-bot stdlib-bot added the Potential Duplicate There might be another pull request resolving the same issue. label Mar 27, 2026
@kgryte kgryte added the bot: Merge Pull request needing the latest project code be merged in. label Mar 27, 2026
@stdlib-bot stdlib-bot added bot: In Progress Pull request is currently awaiting automation. Merge Conflicts Pull request which has merge conflicts. and removed bot: Merge Pull request needing the latest project code be merged in. Potential Duplicate There might be another pull request resolving the same issue. labels Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: In Progress Pull request is currently awaiting automation. Good First PR A pull request resolving a Good First Issue. Merge Conflicts Pull request which has merge conflicts. Needs Review A pull request which needs code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix JavaScript lint errors

4 participants