Bugreport: could not find sonarjs/no-invalid-await

Hey Sonar Community

After upgrading from eslint-plugin-sonarjs 3.0.2 to 3.0.3 we got the following whilst running eslint:

TypeError: Key “rules”: Key “sonarjs/no-invalid-await”: Could not find “no-invalid-await” in plugin “sonarjs”.

The only change is the version bump, I believe this patch should not be a breaking change. Our automatic renovate jobs are now failing.

According to changelog, there was something done to the implementation of this rule:

But I don’t see a reason why would it be completely missing. Was there any rule renaming perhaps that was not documented?

I appreciate your answer in advance and I hope it will be resolved soon.

Cheers
Martin

Hello @ronky_mobi,

Sorry, our changelog was not properly describing what had happened to that rule. We’ve updated it to explain that our rule was removed in favor of @typescript-eslint/await-thenable.