mirror of
https://github.com/Lifeforge-app/lifeforge.git
synced 2026-06-28 14:55:45 +00:00
a7112a89e3f7308577ce1baaabe5a07ce42a2f0b
Former-commit-id: c4b31eb4c3c05e555781d61999cb4d71c156444a [formerly 93529c10657abcf329d00b3948d71fd0f0f9b2d6] [formerly 483b3feae60aca44d3addf059bf32fa81c07580f [formerly 4fc02607091016b72c9f1d4f5b9d5763bf34c8c8]] Former-commit-id: eef677902d98b3d2986d6669980a778b7c90b008 [formerly b32b470a413759c046e684edfaded61467a681cf] Former-commit-id: 28c27a3a2e0d20f5d007e536c64b9821252b2ad3
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptionsproperty like this:
export default {
// other rules...
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
}
- Replace
plugin:@typescript-eslint/recommendedtoplugin:@typescript-eslint/recommended-type-checkedorplugin:@typescript-eslint/strict-type-checked - Optionally add
plugin:@typescript-eslint/stylistic-type-checked - Install eslint-plugin-react and add
plugin:react/recommended&plugin:react/jsx-runtimeto theextendslist
Description
No description provided
achievement-managementcalendarcode-time-trackingfinance-managementidea-boxjournalingmodular-designmusic-librarynote-takingpassword-managerpersonal-managementphotos-managementproductivity-toolsproject-trackingrepositories-managementself-hostedtasg-managementtodo-list
Readme
CC-BY-SA-4.0
165 MiB
Languages
TypeScript
97.3%
CSS
1.7%
Dockerfile
0.4%
Shell
0.3%
HTML
0.2%
Other
0.1%