Dev Checklist
Before you commit any changes, please check your work against these requirements
0. Prerequisites
Section titled “0. Prerequisites”See the Getting Started
1. Config
Section titled “1. Config”- Make sure you have the correct
envvariables (cp .env.dev .env& modify the required values…) - Make sure you have the correct
cypress.env.jsonvariables (cp cypress.env.json.dev cypress.env.json& modify the required values…) for end-to-end testing - For Windows’ users, disable git’s
CRLFline ending:sh git config --system core.autocrlf false
2. Dev
Section titled “2. Dev”3. Test
Section titled “3. Test”- Make sure you manually test your code
- Make sure the unit tests pass (
pnpm test) - Make sure the end-to-end (e2e) tests pass (
pnpm test:e2e)
4. Commit
Section titled “4. Commit”- Make sure your code is linted (
pnpm lint) - Make sure you do not have unused variables (check your linter)
- Make sure you do not have unused imports (check your linter)
- Make sure your code is formatted (
pnpm format) - Make sure your code passes static code analysis checks (
pnpm type:checking) - Make sure your commit message follows the conventional commits guidelines
5. Merge
Section titled “5. Merge”- Make sure you are up to date with the
mainbranch and there are no conflicts (git merge main)
Closing thoughts: these can be automated, some already are on save or on
commit. Don’t hesitate to automate more if you can (weather in your editor or
more globally in the workspace for everyone…)