mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 11:33:14 +00:00
Clears ~83 pre-existing eslint errors in the UI: auto-fixable rules (array-type, import/order, sort-imports, type-only imports, redundant assertions/conditions) plus manual fixes for unnecessary conditions and banned @ts-nocheck directives. The 8 ported components excluded from tsconfig are now also ignored by eslint so type-aware linting no longer fails to parse them. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
28 lines
944 B
JavaScript
28 lines
944 B
JavaScript
// @ts-check
|
|
|
|
import { tanstackConfig } from "@tanstack/eslint-config"
|
|
|
|
export default [
|
|
{
|
|
ignores: [
|
|
".output/**",
|
|
".nitro/**",
|
|
".tanstack/**",
|
|
"dist/**",
|
|
"src/routeTree.gen.ts",
|
|
"src/components/ui/**",
|
|
// Ported from a desktop host app and excluded from tsconfig (not yet
|
|
// integrated), so type-aware linting cannot resolve them. Keep this list
|
|
// in sync with the `exclude` entries in tsconfig.json.
|
|
"src/components/agents/ported/ChatView.tsx",
|
|
"src/components/agents/ported/PromptBar.tsx",
|
|
"src/components/agents/ported/BranchSelector.tsx",
|
|
"src/components/agents/ported/ContextIndicator.tsx",
|
|
"src/components/agents/ported/SourceControlPanel.tsx",
|
|
"src/components/agents/ported/SourceControlTile.tsx",
|
|
"src/components/agents/ported/Footer.tsx",
|
|
"src/components/agents/ported/ThreadPicker.tsx",
|
|
],
|
|
},
|
|
...tanstackConfig,
|
|
]
|