cartant / eslint-plugin-rxjs-angular

ESLint rules for RxJS and Angular
MIT License
98 stars 11 forks source link

'notDeclared' message for 'prefer-composition' rule is trigger for valid subscriptions in the new 2.0.0 version #9

Closed KevlarBat closed 3 years ago

KevlarBat commented 3 years ago

Hello,

my Angular project is configured to use the 'prefer-composition' rule. I recently upgrade it to use the new 2.0.0 version. All my previously implemented subscription now trigger the 'notDeclared' message.

Could the new version have a little bug ? Or maybe, I should not have upgrade my project because some of the others packages I use are not compatible ? I currently use Angular v11.2.9. Ts version and rxjs version are up to date.

for now I just rollback to previous version.

cartant commented 3 years ago

Did you honour the package's peers? It has minimum requirements that must be met.

cartant commented 3 years ago

Also: "@typescript-eslint/parser": "^5.0.0",

KevlarBat commented 3 years ago

ok thanks ! My parser package was outdated