docs/web-client-new/eslint.config.js
markov f3c7f5b07e Create new Vite + React frontend
- New web-client-new/ directory with Vite + React + TypeScript + Tailwind CSS 4
- Ported auth-client, api, and ws libraries with Vite env vars (VITE_*)
- Created main pages: LoginPage, ProjectPage, CreateProjectPage, SettingsPage, AgentsPage
- WebSocket client now uses JWT token in query parameter for direct Tracker auth
- All components use react-router-dom instead of Next.js navigation
- Builds successfully with dist/ output
2026-02-23 23:26:31 +01:00

24 lines
616 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 { defineConfig, globalIgnores } from 'eslint/config'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
reactHooks.configs.flat.recommended,
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
},
])