Files
clawstor/dashboard/eslint.config.js
T
Omar Sobh 7f57b6e3bd feat(dashboard): React+Vite SPA for the claw-store HTTP API
Single-page app with NodeCard, HotTierChart, SyncQueueCard,
SnapshotTimeline, and ProjectBrowser. Hits the new HTTP/SSE
API surface in claw-store serve (next commit). Built with
Vite/Tailwind/lucide-react; consumed by mounting the dist/
output at /usr/share/claw-store/static (or wherever
--static-dir points) and serving via claw-store serve.
2026-06-28 12:52:46 +00:00

23 lines
591 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: {
globals: globals.browser,
},
},
])