Files
lifeforge/docs
Melvin Chia 9b17ec46c4 feat(docs): add roadmap section outlining future plans and community contributions
Former-commit-id: 7e007a0f6caa1208072db686271e63c84f1d117a [formerly ba01a7fc88c70d677102902ac780a1c06e800839] [formerly c4858cf230c6c1a8c2aa4c764ecb97c376da3dfe [formerly f37ad09d104ca29960be0976dbd3d92876d9bae9]]
Former-commit-id: e9316ca4398cc9b7da9478fc92dfc3ea0b332da1 [formerly 784418530b90438dc1430a8cb67f77ba09290938]
Former-commit-id: e91a40c705f2515742a4467bda80d0903aff62c6
2025-10-17 23:09:45 +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