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.
This commit is contained in:
@@ -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 { 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,
|
||||
},
|
||||
},
|
||||
])
|
||||
Reference in New Issue
Block a user