diff --git a/eslint.config.js b/eslint.config.js index a5cf326..47e33b6 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -62,7 +62,14 @@ module.exports = { 'rxjs-angular/prefer-async-pipe': 'warn', 'rxjs-angular/prefer-composition': 'off', // I prefer takeUntilDestroyed() operator - 'rxjs-angular/prefer-takeuntil': 'off', // I prefer takeUntilDestroyed() operator + 'rxjs-angular/prefer-takeuntil': [ + 'warn', + { + alias: ['takeUntilDestroyed'], + checkDestroy: false, + checkComplete: false, + } + ], // Reference https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/finnish.md 'rxjs/finnish': [