Files
portfolio/eslint.config.js
T
sylvaintr b012f28dd8 feat: add hooks for IP and project management, implement routing and internationalization
- Created `useIpPublic` hook for fetching public IP.
- Developed `useProjets`, `useProjet`, `useCreateProjet`, and `useEditProjet` hooks for project management.
- Implemented i18n configuration for internationalization support.
- Added global CSS styles and main application entry point.
- Established routing with lazy-loaded components for better performance.
- Created sections for Home, About, CV, and Projects with responsive design.
- Integrated form handling for project creation and editing with validation.
- Added footer and navigation bar components.
- Defined project types and validation schemas.
- Configured TypeScript and Vite for the project setup.
2026-02-10 10:43:28 +01:00

24 lines
610 B
JavaScript

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 { globalIgnores } from 'eslint/config'
export default tseslint.config([
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,
},
},
])