Setup: Ajout structure React + TypeScript avec Vite

- Création du dossier client/ avec Vite
- Configuration React 19 + TypeScript 5.9
- Installation react-router-dom pour le routing
- Installation axios pour les appels API
- Structure de dossiers: types, services, components, contexts, hooks, pages, utils
- Configuration ESLint + TypeScript
- Prêt pour la conversion de l'application
This commit is contained in:
Claude committed 2025-11-11 17:06:39 +00:00
1 parent 9748ecb1bb
commit 8ef7d55285
16 files changed
+4149

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
import { defineConfig, globalIgnores } from 'eslint/config'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
reactHooks.configs['recommended-latest'],
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
},
])