Skip to content

chore: Quick cleanup#305

Open
thompson-tomo wants to merge 3 commits intothlorenz:masterfrom
thompson-tomo:cleanup
Open

chore: Quick cleanup#305
thompson-tomo wants to merge 3 commits intothlorenz:masterfrom
thompson-tomo:cleanup

Conversation

@thompson-tomo
Copy link
Contributor

@thompson-tomo thompson-tomo commented Jan 30, 2026

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

@thompson-tomo thompson-tomo changed the title chore: Short cleanup chore: Quick cleanup Jan 30, 2026
@thompson-tomo
Copy link
Contributor Author

FYI @AndrewSouthpaw just a small cleanup of missing ; spacing & quotation mark usage. Plus cleanup of issuesl

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

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

Labels

None yet

Projects

None yet

1 participant