npm installWe use Husky and lint-staged to automatically run ESLint and Prettier before every commit.
Hooks are installed automatically when you run npm install (via the prepare script).
npm run prepareHooks run automatically on git commit. You can also run linting and formatting manually:
# Format all files
npm run format
# Check formatting
npm run format:check
# Lint all files
npm run lint
# Auto-fix linting issues
npm run lint:fixgit commit --no-verify -m "emergency commit"this app is deployed on AWS amplify. pushes to both dev and main will deploy to their respective environments.
this app uses Cognito for authentication which are defined with terraform in the frontend_auth.tf file.