Incompatible with eslint-config-airbnb-typescript 17.1.0
stevensacks opened this issue · 1 comments
stevensacks commented
When eslint-config-airbnb-typescript 17.1.0 is installed, you cannot install 3.0.0.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: project@0.0.1
npm ERR! Found: @typescript-eslint/parser@5.62.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR! peer @typescript-eslint/parser@"^5.0.0" from @typescript-eslint/eslint-plugin@5.62.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! peer @typescript-eslint/eslint-plugin@"^5.13.0 || ^6.0.0" from eslint-config-airbnb-typescript@17.1.0
npm ERR! node_modules/eslint-config-airbnb-typescript
npm ERR! dev eslint-config-airbnb-typescript@"17.1.0" from the root project
npm ERR! peerOptional @typescript-eslint/eslint-plugin@"^5.0.0 || ^6.0.0" from eslint-plugin-jest@27.2.3
npm ERR! node_modules/eslint-plugin-jest
npm ERR! dev eslint-plugin-jest@"27.2.3" from the root project
npm ERR! peer @typescript-eslint/parser@"^5.0.0 || ^6.0.0" from eslint-config-airbnb-typescript@17.1.0
npm ERR! node_modules/eslint-config-airbnb-typescript
npm ERR! dev eslint-config-airbnb-typescript@"17.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! dev eslint-plugin-typescript-sort-keys@"*" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @typescript-eslint/parser@6.6.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR! peer @typescript-eslint/parser@"^6" from eslint-plugin-typescript-sort-keys@3.0.0
npm ERR! node_modules/eslint-plugin-typescript-sort-keys
npm ERR! dev eslint-plugin-typescript-sort-keys@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
When you try to install 2.3.0:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: project@0.0.1
npm ERR! Found: @typescript-eslint/parser@6.6.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR! peer @typescript-eslint/parser@"^5.0.0 || ^6.0.0" from eslint-config-airbnb-typescript@17.1.0
npm ERR! node_modules/eslint-config-airbnb-typescript
npm ERR! dev eslint-config-airbnb-typescript@"17.1.0" from the root project
npm ERR! peer @typescript-eslint/parser@"^6.0.0 || ^6.0.0-alpha" from @typescript-eslint/eslint-plugin@6.6.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! peer @typescript-eslint/eslint-plugin@"^5.13.0 || ^6.0.0" from eslint-config-airbnb-typescript@17.1.0
npm ERR! node_modules/eslint-config-airbnb-typescript
npm ERR! dev eslint-config-airbnb-typescript@"17.1.0" from the root project
npm ERR! peerOptional @typescript-eslint/eslint-plugin@"^5.0.0 || ^6.0.0" from eslint-plugin-jest@27.2.3
npm ERR! node_modules/eslint-plugin-jest
npm ERR! dev eslint-plugin-jest@"27.2.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! dev eslint-plugin-typescript-sort-keys@"2.3.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @typescript-eslint/parser@5.62.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR! peer @typescript-eslint/parser@"^1 || ^2 || ^3 || ^4 || ^5" from eslint-plugin-typescript-sort-keys@2.3.0
npm ERR! node_modules/eslint-plugin-typescript-sort-keys
npm ERR! dev eslint-plugin-typescript-sort-keys@"2.3.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
2.3.0 works fine with eslint-config-airbnb-typescript 17.0.0.
infctr commented
All packages need to update to @typescript-eslint/parser@"^6