Skip to content

Commit 1187a54

Browse files
committed
docs: disable eslint on host metadata
1 parent 132d12b commit 1187a54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/demo/src/app/home/home.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export class Autoplay {
5757
</a>
5858
`,
5959
imports: [Autoplay, NgFor, RouterLink],
60+
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
6061
host: { class: 'space-y-6 xl:space-y-10 relative block w-full h-full' },
6162
})
6263
export class DemoItem {
@@ -96,6 +97,7 @@ export class DemoList {
9697
</a>
9798
</p>
9899
`,
100+
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
99101
host: { class: 'space-y-5 sm:space-y-4 md:max-w-xl lg:max-w-3xl xl:max-w-none block mb-4' },
100102
})
101103
export class Header {}

0 commit comments

Comments
 (0)