Files
EJClaw/eslint.config.js
Codex 1c0fbaf26a refactor: remove web dashboard, Android app and Glasses UI
WEB_DASHBOARD_ENABLED defaulted to false and was never set, so nothing
served the dashboard. Remove the server/routes, apps/dashboard,
apps/android, the dashboard-only settings modules (settings-store,
settings-store-moa, room-skill-settings, runtime-inventory,
codex-live-status, settings-effort), WEB_DASHBOARD_* config, the
web-dashboard-only startup mode, dashboard/android scripts and the
react/vite/playwright dependencies.

The Codex account refresh loop in settings-store is dropped with it: it
refreshed account index 0 through the shared ~/.codex/auth.json instead
of the isolated ~/.codex-accounts/0 used by the reviewer.

Host evidence loses the dashboard_dist / android_debug_apk artifact
kinds. The Discord status dashboard is unchanged. Room skill overrides
are still read from the DB by agent-runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 18:47:55 +09:00

71 lines
1.6 KiB
JavaScript

import js from '@eslint/js';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
ignores: [
'dist/**',
'node_modules/**',
'runners/*/dist/**',
'runners/*/node_modules/**',
'store/**',
'store-*/**',
'data/**',
'data-*/**',
'coverage/**',
'tmp/**',
'cache/**',
],
},
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ['**/*.{ts,tsx,js,jsx}'],
languageOptions: {
globals: {
...globals.browser,
...globals.node,
...globals.es2022,
Bun: 'readonly',
},
},
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
{
argsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
'@typescript-eslint/no-empty-object-type': 'warn',
complexity: ['warn', { max: 35 }],
'max-depth': ['warn', 5],
'max-lines-per-function': [
'warn',
{
max: 180,
skipBlankLines: true,
skipComments: true,
},
],
'max-params': ['warn', 7],
'no-case-declarations': 'warn',
'no-console': 'off',
'no-control-regex': 'off',
'no-unsafe-finally': 'warn',
'no-useless-assignment': 'warn',
'no-useless-escape': 'warn',
'preserve-caught-error': 'warn',
},
},
{
files: ['**/*.test.ts', '**/*.test.tsx', 'scripts/**/*.ts'],
rules: {
'max-lines-per-function': 'off',
},
},
);