mh-jsx / Vite-JS-Starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vite + React + Javascript Starter

This setup includes:

  • Vite
  • Eslint
  • Prettier
  • React-router v6
  • Husky - precommit hook
  • Absolute paths
  • Vite svgr - SVG import as ReactComponent

Getting started

yarn run start

Husky Pre-Commit hook:

It will test linting and prettier rules.

## Auto fix using scripts

yarn run prettier:fix

yarn run lint:fix

## If you still got an error on Commit, You have to manually fix the errors.

About


Languages

Language:JavaScript 78.4%Language:CSS 13.3%Language:HTML 7.0%Language:Shell 1.2%