Skip to content

[HOTE-987] feat: add prettier and commands for root#280

Merged
cptiv2020 merged 8 commits intomainfrom
feature/hote-987/add-additional-script-commands
Mar 26, 2026
Merged

[HOTE-987] feat: add prettier and commands for root#280
cptiv2020 merged 8 commits intomainfrom
feature/hote-987/add-additional-script-commands

Conversation

@cptiv2020
Copy link
Copy Markdown
Contributor

Description

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

Copilot AI review requested due to automatic review settings March 24, 2026 10:37
Copy link
Copy Markdown
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

Adds root-level formatting/linting commands and wires Prettier into the existing pre-commit hook set, improving consistency across the monorepo (ui/lambdas/tests) from the repository root.

Changes:

  • Added root prettier and prettier:pre-commit scripts, plus a root lint aggregator script.
  • Added a local prettier-formatting pre-commit hook that runs the root Prettier command on staged files.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Adds root scripts for Prettier and combined linting across packages.
.pre-commit-config.yaml Adds a pre-commit hook to run Prettier during commits.

Comment thread package.json Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 24, 2026

Lambdas Coverage Report

Lines Statements Branches Functions
Coverage: 96%
97% (1164/1200) 89.9% (365/406) 94.14% (177/188)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 24, 2026

UI Coverage Report

Lines Statements Branches Functions
Coverage: 94%
94.61% (5144/5437) 85.78% (555/647) 85.43% (176/206)

Copilot AI review requested due to automatic review settings March 24, 2026 11:12
Copy link
Copy Markdown
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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/stage-1-commit.yaml Outdated
Comment thread package.json Outdated
Copilot AI review requested due to automatic review settings March 24, 2026 11:44
Copy link
Copy Markdown
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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Comment thread .github/actions/perform-pre-commit/action.yaml Outdated
Comment thread package.json
@sonarqubecloud
Copy link
Copy Markdown

@cptiv2020 cptiv2020 requested a review from lewisbirks March 24, 2026 12:05
@cptiv2020 cptiv2020 merged commit cf30e34 into main Mar 26, 2026
11 checks passed
@cptiv2020 cptiv2020 deleted the feature/hote-987/add-additional-script-commands branch March 26, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants