Please update eslint-plugin-sonarjs for ESlint 10

“eslint-plugin-sonarjs”: “^3.0.7”,

Doing a npm update gives:

npm warn While resolving: eslint-plugin-sonarjs@3.0.7
npm warn Found: eslint@10.0.0
npm warn node_modules/eslint
npm warn dev eslint@“^10.0.0” from the root project
npm warn 13 more (@eslint/js, @stylistic/eslint-plugin, …)
npm warn
npm warn Could not resolve dependency:
npm warn peer eslint@“^8.0.0 || ^9.0.0” from eslint-plugin-sonarjs@3.0.7
npm warn node_modules/eslint-plugin-sonarjs
npm warn dev eslint-plugin-sonarjs@“^3.0.7” from the root project
npm warn
npm warn Conflicting peer dependency: eslint@9.39.2
npm warn node_modules/eslint
npm warn peer eslint@“^8.0.0 || ^9.0.0” from eslint-plugin-sonarjs@3.0.7
npm warn node_modules/eslint-plugin-sonarjs
npm warn dev eslint-plugin-sonarjs@“^3.0.7” from the root project

Hello @crystalfp,

we just released eslint-plugin-sonarjs@4.0.0. Can you please try and let us know if it’s all good now?

Cheers,
Victor

1 Like

Perfect thanks! No more warnings.

1 Like