Files
proxycast/eslint.config.js
T
coso 172d50318a feat: add token sync time display and file monitoring status
- Add last sync time display for each OAuth provider (Kiro, Gemini, Qwen)
- Add file hash monitoring indicator (5s interval) in provider panels
- Add Token sync status card in Dashboard with:
  - Token status
  - Refresh token availability
  - Last sync time
  - Last check time
- Auto-reload credentials when file changes detected
- Update eslint config to ignore _prefixed variables
2025-12-14 10:59:04 +08:00

35 lines
1.1 KiB
JavaScript

import js from "@eslint/js";
import tseslint from "@typescript-eslint/eslint-plugin";
import tsparser from "@typescript-eslint/parser";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import globals from "globals";
export default [
{ ignores: ["dist", "src-tauri", "node_modules"] },
{
files: ["**/*.{ts,tsx}"],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parser: tsparser,
parserOptions: {
ecmaFeatures: { jsx: true },
},
},
plugins: {
"@typescript-eslint": tseslint,
"react-hooks": reactHooks,
"react-refresh": reactRefresh,
},
rules: {
...js.configs.recommended.rules,
...tseslint.configs.recommended.rules,
...reactHooks.configs.recommended.rules,
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_", caughtErrorsIgnorePattern: "^_" }],
"@typescript-eslint/no-explicit-any": "off",
},
},
];