⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@SuYaSh-PaThAk04
Copy link
Contributor

Resolves #9699 .

Description

What is the purpose of this pull request?

This pull request:

  • This pull request fixes a JavaScript linting error by moving the copyLocationInfo function to module scope, resolving a violation of the stdlib/no-unnecessary-nested-functions ESLint rule.

No functional behavior is changed; the update strictly improves code structure to satisfy linting requirements.

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

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

@stdlib-bot stdlib-bot added Tools Issue or pull request related to project tooling. Needs Review A pull request which needs code review. Good First PR A pull request resolving a Good First Issue. labels Jan 12, 2026
Removed unnecessary blank lines in the main.js file.

Signed-off-by: Suyash Pathak <[email protected]>
@stdlib-bot stdlib-bot added the Potential Duplicate There might be another pull request resolving the same issue. label Jan 13, 2026
@Planeshifter
Copy link
Member

Resolved via dd97058. Thanks for the PR either way!

@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Jan 13, 2026
@SuYaSh-PaThAk04 SuYaSh-PaThAk04 deleted the fix/js-lint-9699 branch January 13, 2026 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Good First PR A pull request resolving a Good First Issue. Potential Duplicate There might be another pull request resolving the same issue. Tools Issue or pull request related to project tooling.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix JavaScript lint errors

3 participants