Resolved ALL eslint issues for project

This commit is contained in:
2022-08-12 23:46:55 +02:00
parent 29dfe55974
commit 3594b18872
63 changed files with 1064 additions and 800 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div :class="`loader type-${type}`">
<div :class="`loader type-${type || LoaderHeightType.Page}`">
<i class="loader--icon">
<i class="loader--icon-spinner" />
</i>
@@ -13,17 +13,13 @@
<script setup lang="ts">
import { defineProps } from "vue";
enum LoaderHeightType {
Page = "page",
Section = "section"
}
import LoaderHeightType from "../../interfaces/ILoader";
interface Props {
type?: LoaderHeightType;
}
const { type = LoaderHeightType.Page } = defineProps<Props>();
defineProps<Props>();
</script>
<style lang="scss" scoped>