-
Notifications
You must be signed in to change notification settings - Fork 59
Tenant UI frontend ESLint 9 upgrade #1660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
Deployment URLs ready for review. |
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
There was a problem hiding this 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
Stringtostringfor 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
services/tenant-ui/frontend/src/components/issuance/schemas/checkSchemaPostedInterval.ts
Show resolved
Hide resolved
...nant-ui/frontend/src/components/issuance/credentialDefinitions/checkCredDefPostedInterval.ts
Show resolved
Hide resolved
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
jamshale
left a comment
There was a problem hiding this 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.
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