Contribution Date
Contribution Project
Contribution Details
Upgrade ESLint to v10 and update related dependencies
- Upgraded `eslint` to `^10.0.0`.
- Updated `@typescript-eslint` packages to `^8.56.0`.
- Updated `eslint-plugin-jest` to `^29.15.0`.
- Updated `eslint-plugin-prettier` to `^5.5.5`.
- Updated `eslint-config-prettier` to `^10.1.8`.
- Updated `@eslint/compat` to `^2.0.2`.
- Added `@eslint/js` and `@eslint/eslintrc` as dev dependencies to support ESLint 10 flat config.
- Forced installation of `eslint-plugin-import` due to peer dependency conflicts, but verified functionality.
- Ran lint and tests to ensure no regressions.
Co-authored-by: hussainweb <1040271+hussainweb@users.noreply.github.com>
Fix ESLint 10 peer dependency conflict with overrides
- Added `overrides` to `package.json` to force `eslint-plugin-import` to use the installed `eslint` version (^10.0.0).
- This resolves the `ERESOLVE` error during `npm ci` in CI environments.
- Regenerated `package-lock.json` with the overrides.
- Verified fix by running `npm ci`, lint, and tests locally.
Co-authored-by: hussainweb <1040271+hussainweb@users.noreply.github.com>
Contribution Issue Link
Files count
0
Patches count
1