Skip to content

Commit 5053fc9

Browse files
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>
1 parent c937f15 commit 5053fc9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,10 @@
7171
},
7272
"optionalDependencies": {
7373
"@rollup/rollup-linux-x64-gnu": "*"
74+
},
75+
"overrides": {
76+
"eslint-plugin-import": {
77+
"eslint": "$eslint"
78+
}
7479
}
7580
}

0 commit comments

Comments
 (0)