Skip to content

Conversation

@EhabY
Copy link
Collaborator

@EhabY EhabY commented Dec 30, 2025

Summary

  • Migrate from legacy .eslintrc.json to ESLint v9 flat config (eslint.config.mjs)
  • Upgrade ESLint from v8.57 to v9.39
  • Upgrade typescript-eslint packages to v8.51
  • Switch from eslint-plugin-import to eslint-plugin-import-x (actively maintained fork)
  • Replace eslint-plugin-md with @eslint/markdown

Code Changes

  • Extract error utilities into dedicated src/error/ module
  • Rename error.ts to error/certificateError.ts
  • Add error/errorUtils.ts with shared error handling helpers
  • Fix all ESLint errors introduced by stricter v9 rules
  • Add unit tests for new error utilities

- Replace .eslintrc.json with eslint.config.mjs flat config format.
- Update TypeScript files to comply with new linting rules.
- Address stricter type checking and import rules across codebase.
- Extract error utilities from error.ts into error/errorUtils.ts.
- Rename error.ts to error/certificateError.ts for clarity.
Replace deprecated eslint-plugin-import with actively maintained eslint-plugin-import-x fork for ESLint v9 compatibility.
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.

1 participant