No description
  • JavaScript 53.8%
  • TypeScript 21.6%
  • CSS 20.6%
  • Shell 2.2%
  • HTML 1.4%
  • Other 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pierre Jarnac bd91e33d9f
All checks were successful
VPS Deploy / build-and-push (pull_request) Successful in 8s
VPS Deploy / deploy (pull_request) Successful in 11s
VPS Deploy / build-and-push (push) Successful in 8s
VPS Deploy / deploy (push) Successful in 11s
feat(event): event have now special display if they are full
2026-06-30 18:16:36 +00:00
.devcontainer refactor: migrate whole project to react router framework mode 2026-06-02 12:51:03 +00:00
.forgejo/workflows ci: action on pull request 2026-06-28 19:24:22 +02:00
.vscode feat: sidebar 2026-05-30 14:22:20 +00:00
conf fix: invalid nginx proxy config 2026-06-12 15:22:57 +00:00
handoff feat: card work 2026-06-02 16:59:54 +00:00
hooks fix: error in hooks install script 2026-05-18 09:36:31 +00:00
public fix: invalid flowbite js location 2026-05-30 14:29:03 +00:00
src feat(event): event have now special display if they are full 2026-06-30 18:16:36 +00:00
.gitignore refactor: migrate whole project to react router framework mode 2026-06-02 12:51:03 +00:00
Dockerfile refactor: migrate whole project to react router framework mode 2026-06-02 12:51:03 +00:00
eslint.config.js fix: lint errors 2026-06-15 13:04:52 +00:00
package-lock.json feat: new event button on calendar 2026-06-30 17:50:51 +00:00
package.json feat: new event button on calendar 2026-06-30 17:50:51 +00:00
react-router.config.ts refactor: migrate whole project to react router framework mode 2026-06-02 12:51:03 +00:00
README.md feat: basic template including devcontainer 2026-05-07 12:30:14 +00:00
tsconfig.app.json feat: finished event creation 2026-06-15 13:00:35 +00:00
tsconfig.json feat: added eslint-react plugin for more precise insight on react code 2026-05-18 11:20:54 +00:00
tsconfig.node.json refactor: migrate whole project to react router framework mode 2026-06-02 12:51:03 +00:00
vite.config.ts fix(ci): react router v8 was using the new vit Environment API which is using a local http server and problem happened on the listening interfaces 2026-06-23 21:07:38 +02: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:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])