Skip to content

Commit

Permalink
feat(eslint-plugin-experience): do not use TuiDestroyService
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed May 2, 2024
1 parent db59f15 commit 254b084
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions projects/eslint-plugin-experience/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,12 @@ module.exports = {
importNames: ['Inject'],
message: 'Please use `inject(Type)` function instead.',
},
{
group: ['@taiga-ui/cdk'],
importNames: ['TuiDestroyService'],
message:
'Please use `takeUntilDestroyed()` function instead.',
},
],
},
],
Expand Down

0 comments on commit 254b084

Please sign in to comment.