Files
roa2web-service-auto/.eslintrc.cjs
Claude Agent b137e80b71 feat: multi-Oracle server support with runtime switching
Complete implementation of multi-server Oracle database support:

Backend:
- Multi-pool Oracle with lazy loading per server
- Email-to-server cache for automatic server discovery
- JWT tokens include server_id claim
- /auth/check-identity and /auth/check-email endpoints
- /auth/my-servers endpoint for listing user's accessible servers
- Server switch with password re-authentication

Frontend:
- New ServerSelector component for header dropdown
- Multi-step login flow (identity → server → password)
- Server switching from header with password modal
- Mobile drawer menu with server selection
- Dark mode support for all new components
- URL bookmark support with ?server= query param

Scripts:
- Unified start.sh replacing start-prod.sh/start-test.sh
- Unified ssh-tunnel.sh with multi-server support
- Updated status.sh for new architecture

Tests:
- E2E tests for multi-server and single-server login flows
- Backend unit tests for all new endpoints
- Oracle multi-pool integration tests

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 22:39:06 +00:00

32 lines
845 B
JavaScript

module.exports = {
root: true,
env: {
node: true,
browser: true,
es2022: true
},
extends: [
'eslint:recommended',
'plugin:vue/vue3-essential'
],
parserOptions: {
ecmaVersion: 2022,
sourceType: 'module'
},
plugins: ['vue'],
// Ignore TypeScript Vue files (no TS parser configured)
ignorePatterns: ['**/*.ts', '**/SolduriCompactCard.vue'],
rules: {
// Warnings only
'no-unused-vars': 'warn',
'no-undef': 'warn',
'no-case-declarations': 'warn',
// Disabled for existing codebase compatibility
'vue/multi-word-component-names': 'off',
'vue/no-reserved-component-names': 'off', // PrimeVue uses Button, Dialog, etc.
'vue/no-mutating-props': 'warn', // Common pattern with v-model
'vue/no-parsing-error': 'warn' // Template expressions with < > operators
}
}