- Node.js (v18.15.0)+
- Npm (9.5.0)+
- Typescript
This project is bootstrapped with Vite + React + Typescript
To install necessary dependencies
npm iTo start the application on your localhost
npm run devThis project uses Prettier for formatting and ESLint for linting. To format your code, run:
npm run prettierTo lint your code, run:
npm run lintNote: Prefix variables with an underscore_ if you have declared them but not used them. e.g. const _variable = 'value';
This project uses Husky to run git hooks. The following hooks are configured:
- pre-commit: Runs linting on staged files.
- pre-push: Runs a build to ensure the code compiles.
- commit-msg: Ensures the commit message follows the conventional commits rules.
This project uses commitlint to ensure that commit messages follow the Conventional Commits specification.
Check out commitlint.config.js for the configuration.