Skip to content

Format and lint#183

Merged
alancleary merged 6 commits intomainfrom
format-and-lint
May 5, 2025
Merged

Format and lint#183
alancleary merged 6 commits intomainfrom
format-and-lint

Conversation

@alancleary
Copy link
Copy Markdown
Contributor

@alancleary alancleary commented May 5, 2025

  • Adds linting via ESlint
  • Adds formatting via Prettier
  • ESlint and Prettier play nicely together using eslint-config-prettier
  • Linting and formatting are applied to staged files on commit using Husky and lint-staged
  • Linting and formatting are applied to PRs using a GitHub workflow

Edit:

  • Linting and format was also applied to the existing source files

alancleary added 6 commits May 5, 2025 14:42
Linting via ESlint and formatting via Prettier.
The hook is managed using Husky and the hook itself only applies linting and formatting to staged files using the lint-staged package.
@alancleary alancleary merged commit 3c11c87 into main May 5, 2025
1 check passed
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