Skip to content

Fix Linting Errors - #13699

Open
Ap-0007 wants to merge 1 commit into
stdlib-js:developfrom
Ap-0007:fix-13569-fix-javascript-lint-errors
Open

Fix Linting Errors#13699
Ap-0007 wants to merge 1 commit into
stdlib-js:developfrom
Ap-0007:fix-13569-fix-javascript-lint-errors

Conversation

@Ap-0007

@Ap-0007 Ap-0007 commented Jul 27, 2026

Copy link
Copy Markdown

What was broken

A linter error in our JavaScript code is preventing the project from passing automated checks.

What changed

We are fixing the error by updating our usage of template literals to be more consistent with best practices.

How to test

Run the automated tests and check that the linter errors have been resolved.

@Ap-0007
Ap-0007 requested a review from a team July 27, 2026 15:12
@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 Tools Issue or pull request related to project tooling. Needs Review A pull request which needs code review. First-time Contributor A pull request from a contributor who has never previously committed to the project repository. labels Jul 27, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7cd1a67062

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

console.log( errs );
<!-- lint disable first-heading-level expected-html-sections -->
<!-- Section to include announcements. If section is included, add a horizontal rule *after* the section. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
<section class="announcement">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore a runnable JavaScript example

This file is still a .js example under the package's ./examples directory, but the replacement content is HTML/Markdown markup. When the example is executed or even syntax-checked with Node, it fails with SyntaxError: Unexpected token '<' at the <section> tag, so the schema validation example no longer runs and example checks for this package will fail.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

First-time Contributor A pull request from a contributor who has never previously committed to the project repository. Needs Review A pull request which needs code review. Tools Issue or pull request related to project tooling.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants