Files
bikelane/client/eslint.config.js
theis.gaedigk 46fa608a47 feat: initialize React client with Vite setup
- Added package.json with dependencies for React, Vite, TypeScript, and ESLint.
- Included Vite logo SVG and React logo SVG in the public and assets directories respectively.
- Created main application component (App.tsx) with basic structure and state management.
- Added global styles in index.css and component-specific styles in App.css.
- Configured TypeScript with tsconfig files for app and node environments.
- Set up Vite configuration for development server with specified host and port.
2025-07-21 15:20:41 +02: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,
},
},
])