117616: Fixed unique-decorators rule to work across multiple files

Also moved the logic to filter out unwanted decorators to the ESLint's selector and fixed a typo
This commit is contained in:
Alexandre Vryghem
2024-09-23 11:41:09 +02:00
parent 8ff5a23c40
commit 598471913e
3 changed files with 9 additions and 14 deletions

View File

@@ -34,7 +34,7 @@ class Something {
selector: 'ds-base-test-themable',
standalone: true,
})
class TestThemeableTomponent {
class TestThemeableComponent {
}
```
@@ -50,7 +50,7 @@ Filename: `lint/test/fixture/src/app/test/themed-test-themeable.component.ts`
TestThemeableComponent,
],
})
class ThemedTestThemeableTomponent extends ThemedComponent<TestThemeableComponent> {
class ThemedTestThemeableComponent extends ThemedComponent<TestThemeableComponent> {
}
```