Create a new project with Vite, React JS, TypeScript, Eslint, Prettier in just 1 second and you don't need to setup anything.
Vercel Deploy: https://vite-react-ts-eslint-prettier.vercel.app
Alias Import
Hook Warning
Prettier Warning
Etc...
- Clone Template
git clone https://github.com/igdev116/vite-react-ts-eslint-prettier.git
- Install Packages
yarn install
- Start Project
yarn dev
- If you using git, delete the existing folder .git after cloning (open
git bash
or other terminal)
rm -rf .git
- Check lint
yarn lint
- Fix lint
yarn lint:fix
- Check prettier
yarn prettier
- Fix prettier
yarn prettier:fix
- Fix lint and prettier
yarn format