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,14 +1,14 @@
import { Component, ComponentInterface, Element, Host, Prop, h } from '@stencil/core';
import type { ComponentInterface } from '@stencil/core';
import { Component, Element, Host, Prop, h } from '@stencil/core';
import { getIonMode } from '../../global/ionic-global';
@Component({
tag: 'ion-select-option',
shadow: true,
styleUrl: 'select-option.scss'
styleUrl: 'select-option.scss',
})
export class SelectOption implements ComponentInterface {
private inputId = `ion-selopt-${selectOptionIds++}`;
@Element() el!: HTMLElement;
@ -24,14 +24,7 @@ export class SelectOption implements ComponentInterface {
@Prop() value?: any | null;
render() {
return (
<Host
role="option"
id={this.inputId}
class={getIonMode(this)}
>
</Host>
);
return <Host role="option" id={this.inputId} class={getIonMode(this)}></Host>;
}
}