Open
Conversation
33dc4a3 to
c1b65e3
Compare
Contributor
Author
|
FYI @AndrewSouthpaw just a small cleanup of missing ; spacing & quotation mark usage. Plus cleanup of issuesl |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR applies a small Prettier-driven cleanup across the JS sources, YAML configs, and CI/workflow files to improve consistency and readability without changing behavior.
Changes:
- Normalized imports, string quoting, chaining style, and semicolons in core JS modules (
lib/transform.js,lib/get-html-headers.js,lib/file.js,doctoc.js). - Cleaned up YAML indentation and list formatting in configuration files and documentation examples (
tea.yaml,.pre-commit-hooks.yaml,README.md). - Harmonized quoting and indentation in GitHub Actions workflows for CI and releases (
.github/workflows/node.js.yml,.github/workflows/release.yml).
Reviewed changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
tea.yaml |
Switched codeOwners address to double-quoted style for consistent YAML formatting. |
lib/transform.js |
Reformatted header parsing and configuration defaults (quotes, chaining, semicolons) with no functional changes. |
lib/get-html-headers.js |
Prettier-style formatting of HTML header extraction, including Parser construction and string handling, preserving existing logic. |
lib/file.js |
Normalized require declarations and object/return formatting while keeping file discovery behavior unchanged. |
doctoc.js |
Cleaned up imports, log statements, and option formatting, maintaining CLI behavior and argument handling. |
README.md |
Updated the pre-commit YAML example to use consistent indentation and list formatting. |
.pre-commit-hooks.yaml |
Simplified and normalized hook definition list indentation and spacing. |
.github/workflows/release.yml |
Minor spacing and quoting cleanup for permissions and Node cache configuration in the release workflow. |
.github/workflows/node.js.yml |
Reformatted branches arrays, steps indentation, and cache option quoting in the Node CI workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This does a short cleanup of the source files with all the changes being detected by prettier. Note this was only a subset of the proposed changes.
Also the following issues can be closed as out of date:
Closes: #67
Closes: #87
Closes: #219 - duplicate
Closes: #244
Closes: #269 - duplicate
Closes: #277
Closes: #294
Closes: #301
Closes: #302