Base setup for a modern project setup with Vite, React, Typescript with the goal of catching inconsistencies early on resulting in cleaner codebase
- ESlint and Prettier configuration
- Setup of husky and lint-staged
- Install
Prettier - Code formatter
extension - Install
ESLint
extension - Inside
settings.json
add the following:
...
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,