Skip to content

Conversation

@loneil
Copy link
Collaborator

@loneil loneil commented Jul 20, 2025

Upgrade the Tenant UI frontend to ESLint version 9 setup. Adjust some lint fixes across many files that were not detected in previous setup but should have been. (pretty much all the changes under /src or /test are just removing unused imports or minor type tweaks so can probably ignore those in a review)

Also in this PR regenerate the acapyInterface TS types from ACA-Py 1.3.1

Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
@loneil loneil requested a review from Copilot July 20, 2025 03:03

This comment was marked as outdated.

@github-actions
Copy link

loneil added 2 commits July 19, 2025 20:19
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
@loneil loneil requested a review from Copilot July 20, 2025 05:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades the frontend linting system to ESLint 9 while maintaining the existing codebase functionality. The upgrade involves migrating from legacy ESLint configuration to the new flat config format, updating dependencies, and addressing various ESLint-related warnings.

Key changes include:

  • Migration from ESLint 8 to ESLint 9 with flat configuration format
  • Removal of unused imports and variables to address new linting rules
  • Minor type corrections from String to string for consistency
  • Update of package dependencies to their latest compatible versions

Reviewed Changes

Copilot reviewed 39 out of 44 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
services/tenant-ui/package.json Updates ESLint and related dependencies to version 9
services/tenant-ui/frontend/package.json Updates frontend dependencies and removes legacy cross-env usage
services/tenant-ui/frontend/eslint.config.js New flat ESLint configuration file with TypeScript and Vue support
services/tenant-ui/frontend/.eslintignore Removes legacy ignore file (rules moved to config)
Multiple test files Removes unused imports like beforeEach, expect, flushPromises
Multiple source files Removes unused imports and variables, adds underscore prefixes
services/tenant-ui/frontend/src/types/index.ts Corrects String to string type
Files not reviewed (2)
  • services/tenant-ui/frontend/package-lock.json: Language not supported
  • services/tenant-ui/package-lock.json: Language not supported

@loneil loneil changed the title Tenant UI frontendL ESLint 9 upgrade Tenant UI frontend ESLint 9 upgrade Jul 20, 2025
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
Copy link
Contributor

@jamshale jamshale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just scanned over this but looked like you knew what you were doing.

@esune esune merged commit 252edc8 into main Jul 22, 2025
13 checks passed
@esune esune deleted the chore/tenantUiEslintUpgrade branch July 22, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants