chore(vue): add eslint and prettier (#26635)

This commit is contained in:
Liam DeBeasi
2023-01-18 18:29:25 -05:00
committed by GitHub
parent 6d4c52aa5b
commit dc27736bd5
25 changed files with 5693 additions and 574 deletions

View File

@ -1,9 +1,10 @@
import { h, defineComponent } from 'vue';
import { h, defineComponent } from "vue";
export const IonPage = /*@__PURE__*/ defineComponent({
name: 'IonPage',
name: "IonPage",
props: {
registerIonPage: { type: Function, default: () => {} }
// eslint-disable-next-line @typescript-eslint/no-empty-function
registerIonPage: { type: Function, default: () => {} },
},
mounted() {
this.$props.registerIonPage(this.$refs.ionPage);
@ -11,14 +12,14 @@ export const IonPage = /*@__PURE__*/ defineComponent({
setup(_, { attrs, slots }) {
return () => {
return h(
'div',
"div",
{
...attrs,
['class']: 'ion-page',
ref: 'ionPage'
["class"]: "ion-page",
ref: "ionPage",
},
slots.default && slots.default()
)
}
}
);
};
},
});