Closed as not planned
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Relevant Package
typescript-eslint
Playground Link
No response
Repro Code
I started to install the packages
eslint: 9.2.0 ,
typescript-eslint: 7.9.0
but it gives me an error Conflicting peer dependency: eslint@8.57.0 because typescript-eslint has eslint in the package.json with fixed version "8.57.0" so it throws an error
ESLint Config
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import sonarjs from "eslint-plugin-sonarjs";
export default [
{
languageOptions: {
globals: globals.node
}
},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
sonarjs.configs.recommended,
{
"rules": {
"complexity": ["error", 7],
"@typescript-eslint/no-explicit-any": ["off"]
}
}
];
tsconfig
Expected Result
so it shouldn't fixed the eslint version to 8.57.0
Actual Result
it restricted me to install the npm packages.
Additional Info
No response
Versions
package | version |
---|---|
@eslint/js |
9.2.0 |
@typescript-eslint |
7.9.0 |
TypeScript |
5.4.5 |
ESLint |
9.2.0 |