lint(eslint): migrate to eslint and prettier (#25046)

This commit is contained in:
Liam DeBeasi
2022-04-04 11:12:53 -04:00
committed by GitHub
parent 12fd19dd4d
commit 5676bab316
826 changed files with 58743 additions and 54958 deletions

View File

@ -1,7 +1,8 @@
import { Component, ComponentInterface, Host, Prop, h } from '@stencil/core';
import type { ComponentInterface } from '@stencil/core';
import { Component, Host, Prop, h } from '@stencil/core';
import { getIonMode } from '../../global/ionic-global';
import { Color } from '../../interface';
import type { Color } from '../../interface';
import { createColorClasses } from '../../utils/theme';
/**
@ -11,9 +12,9 @@ import { createColorClasses } from '../../utils/theme';
tag: 'ion-card-header',
styleUrls: {
ios: 'card-header.ios.scss',
md: 'card-header.md.scss'
md: 'card-header.md.scss',
},
shadow: true
shadow: true,
})
export class CardHeader implements ComponentInterface {
/**
@ -37,12 +38,11 @@ export class CardHeader implements ComponentInterface {
class={createColorClasses(this.color, {
'card-header-translucent': this.translucent,
'ion-inherit-color': true,
[mode]: true
[mode]: true,
})}
>
<slot></slot>
</Host>
);
}
}