Skip to content

Add prettier #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 5, 2025
Merged

Add prettier #63

merged 3 commits into from
Aug 5, 2025

Conversation

martincostello
Copy link
Member

Install prettier and run prettier on the JavaScript code.

Install prettier.
Run prettier on the JavaScript code.
Validate code against lint rules in CI.
@martincostello martincostello added enhancement dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 5, 2025
@martincostello martincostello marked this pull request as ready for review August 5, 2025 15:10
@Copilot Copilot AI review requested due to automatic review settings August 5, 2025 15:10
@martincostello martincostello merged commit 42329a8 into dev Aug 5, 2025
1 check passed
Copy link

@Copilot 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 Prettier code formatting to the JavaScript codebase with configuration and CI integration. This standardizes code formatting across the project and ensures consistent style enforcement.

  • Installs Prettier as a dev dependency with custom configuration
  • Formats all existing JavaScript files according to the new style rules
  • Adds npm scripts for formatting and format checking
  • Integrates format checking into the CI workflow

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Adds Prettier dependency, npm scripts, and configuration
test/test-app.js Reformats test file according to Prettier rules
generators/app/index.js Reformats generator code according to Prettier rules
.prettierignore Excludes build artifacts from formatting
.github/workflows/build.yml Adds format check step to CI pipeline
.editorconfig Reorganizes properties alphabetically
Comments suppressed due to low confidence (1)

package.json:44

  • Prettier version 3.6.2 does not exist. The latest stable version is 3.3.3. Consider using a valid version like "^3.3.3" or "^3.0.0".
    "prettier": "3.6.2",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement javascript Pull requests that update javascript code
Development

Successfully merging this pull request may close these issues.

1 participant