You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've hit errors a lot recently from PRs made on Github UI or without using dependencies (Husky) that cause errors down the line once someone does contribute to site and test locally, or install deps.
The current linting and formatting checks done by Husky are only performed if the user installs dependencies and commits after doing this. If someone does not build the site, or install dependencies, locally, then they would be able to push bypassing the protections aimed at being accomplished in the automation.
Solution
Add CI checks for linting and formatting. Review husky and package.json to make sure that the flow makes sense.
Problem
I've hit errors a lot recently from PRs made on Github UI or without using dependencies (Husky) that cause errors down the line once someone does contribute to site and test locally, or install deps.
The current linting and formatting checks done by Husky are only performed if the user installs dependencies and commits after doing this. If someone does not build the site, or install dependencies, locally, then they would be able to push bypassing the protections aimed at being accomplished in the automation.
Solution
Add CI checks for linting and formatting. Review husky and package.json to make sure that the flow makes sense.
docs/package.json
Lines 7 to 9 in 2b46222
The text was updated successfully, but these errors were encountered: