Skip to content

[Feature] Prettier#16

Merged
greg5green merged 1 commit intomainfrom
feature/prettier
Mar 18, 2026
Merged

[Feature] Prettier#16
greg5green merged 1 commit intomainfrom
feature/prettier

Conversation

@greg5green
Copy link
Owner

Adds Prettier to standardize code style across the project and enforces it automatically before every commit via Husky.

What changed?

  • Prettier (prettier, .prettierrc) — configured with singleQuote: true and arrowParens: always, targeting .js, .scss, and .html files
  • Husky (.husky/pre-commit) — runs prettier --check before every commit, blocking unformatted code from being committed
  • New scripts — npm run format (auto-fix) and npm run format:check (check only)
  • Formatted files — static/js/httpconfig.js, static/scss/httpconfig.scss, static/html/httpconfig.html, and test/httpconfig.test.js reformatted to match config

@greg5green greg5green merged commit d0a195d into main Mar 18, 2026
2 checks passed
@greg5green greg5green deleted the feature/prettier branch March 18, 2026 03:13
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.

1 participant