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

Set up linters with Pre-Commit Hooks #478

Open
matthewcn56 opened this issue Apr 11, 2022 · 0 comments
Open

Set up linters with Pre-Commit Hooks #478

matthewcn56 opened this issue Apr 11, 2022 · 0 comments
Assignees

Comments

@matthewcn56
Copy link
Member

As is, we can commit and make PRs before checking if our pages properly fit to our codebase's formatting standards. If we can make a github action to run yarn lint-fix and check to make sure that no errors occur on commit, we can prevent scenarios where we open PRs that won't build on netlify due to CI errors.

This can be achieved through husky precommit hooks that's similar to what's used in teach-la's typescript react starter!

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

No branches or pull requests

2 participants