No description
  • TypeScript 90.6%
  • JavaScript 5%
  • HTML 2.4%
  • CSS 1.3%
  • Dockerfile 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
lcesbron 26ad8caee4 Merge pull request 'feature/Globe' (#1) from feature/Globe into master
Reviewed-on: #1
Reviewed-by: lcesbron <lcesbron@student.42lyon.fr>
2026-09-10 14:22:21 +00:00
.devcontainer feat: port is now open 2026-09-09 11:52:41 +00:00
public feat: add a button to swicth projection of the map 2026-09-08 09:40:22 +00:00
src fix: issues with hover and clic effects 2026-09-08 11:52:40 +00:00
.gitignore dev container is operationnal 2026-07-28 11:11:50 +00:00
eslint.config.js dev container is operationnal 2026-07-28 11:11:50 +00:00
index.html fix: devcontainer is working with goods versions 2026-08-03 11:41:47 +00:00
package-lock.json update somes packages and add some more 2026-08-31 11:55:01 +00:00
package.json update somes packages and add some more 2026-08-31 11:55:01 +00:00
README.md dev container is operationnal 2026-07-28 11:11:50 +00:00
tsconfig.app.json dev container is operationnal 2026-07-28 11:11:50 +00:00
tsconfig.json dev container is operationnal 2026-07-28 11:11:50 +00:00
tsconfig.node.json dev container is operationnal 2026-07-28 11:11:50 +00:00
vite.config.ts feat: port is now open 2026-09-09 11:52:41 +00: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...
    },
  },
])