Skip to content
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

chore: add pre-commit hook and fix prettier/eslint config #177

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

panicofr
Copy link
Collaborator

@panicofr panicofr commented Nov 9, 2024

This PR adds a pre-commit hook that run eslint and prettier on staged files.

TODO:

  • add tsc to the toolchain to validate TS typing
  • add stylelint to check style blocks
  • add commitlint to enforce commit messages (?)
  • run tools to format and check all repo files

@panicofr panicofr self-assigned this Nov 9, 2024
Copy link
Member

@oxcened oxcened left a comment

Choose a reason for hiding this comment

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

the rest looks good 🙌

@@ -53,6 +54,7 @@
"@fiscozen/typeahead": "workspace:^",
"@fiscozen/upload": "workspace:^",
"@fiscozen/view-flag": "workspace:^",
"stylelint": "^16.10.0",
Copy link
Member

Choose a reason for hiding this comment

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

should be a dev dependency, this applies to all packages

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.

3 participants