iCrawl / eslint-config-neon

The ultimate ESLint shareable config
Apache License 2.0
58 stars 6 forks source link

Fails to install and build off a fresh clone and npm install #12

Open sureshots-us opened 1 day ago

sureshots-us commented 1 day ago

The readme suggests that npm is supported, but it does not build with it.

I see:

 npm install
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: eslint-config-neon@0.2.3
npm error Found: eslint@9.15.0
npm error node_modules/eslint
npm error   dev eslint@"^9.15.0" from the root project
npm error   peer eslint@"^8.57.0 || ^9.0.0" from @typescript-eslint/parser@8.15.0
npm error   node_modules/@typescript-eslint/parser
npm error     @typescript-eslint/parser@"^8.15.0" from the root project
npm error     peer @typescript-eslint/parser@">=6" from eslint-plugin-typescript-sort-keys@3.3.0
npm error     node_modules/eslint-plugin-typescript-sort-keys
npm error       eslint-plugin-typescript-sort-keys@"^3.3.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^7 || ^8" from eslint-plugin-typescript-sort-keys@3.3.0
npm error node_modules/eslint-plugin-typescript-sort-keys
npm error   eslint-plugin-typescript-sort-keys@"^3.3.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

There's at least one similiar warning for rxjs as well. I am suprised it builds for yarn or runs properly.

sureshots-us commented 1 day ago

I realize this probably doesn't matter to you folks. it's just that I wanted to play with it and I didn't wanna install yarn. Feel free to close if it doesn't matter.