Files
lifeforge/docs
melvinchia3636 88a926f09c fix: update dependencies
Former-commit-id: f8290f544c8e87e93ee9966243b96b020a3fc9e5 [formerly 6adc3aa708c43f1b135fe80243cb1687192318ac] [formerly ca6f3b8afde68958c67b8f53092a34f8fe5b9044 [formerly 20fac923b9cd6acfa7005da6474ee0e8edc0698a]]
Former-commit-id: 947ad6c18298b2c345515dcf964ecbfc4baf341e [formerly 55be06f4a438fd76c82f25a90de4593f91eea154]
Former-commit-id: c464c0ebf094fdcf96f1d6d873910e466d603a51
2025-10-18 23:06:49 +08:00
..
2025-10-18 23:06:49 +08:00
-
2025-10-18 22:45:22 +08:00

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:

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 parserOptions property like this:
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname
  }
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@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-runtime to the extends list