Skip to content
Annastacia-devPublic

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Webcafe

Prerequisites

Getting started

This project is bootstrapped with Vite + React + Typescript

To install necessary dependencies

npm i

To start the application on your localhost

npm run dev

Formatting and Linting

This project uses Prettier for formatting and ESLint for linting. To format your code, run:

npm run prettier

To lint your code, run:

npm run lint

Note: Prefix variables with an underscore_ if you have declared them but not used them. e.g. const _variable = 'value';

Git Hooks

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.

Commits

This project uses commitlint to ensure that commit messages follow the Conventional Commits specification. Check out commitlint.config.js for the configuration.

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages