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,10 +1,10 @@
<template>
<div class="text-input__loading" :style="`margin-top: ${top}rem`">
<div class="text-input__loading" :style="`margin-top: ${top || 0}rem`">
<div
class="text-input__loading--line"
:class="lineClass"
v-for="l in Array(count)"
v-for="l in Array(count || 1)"
:key="l"
class="text-input__loading--line"
:class="lineClass || ''"
></div>
</div>
</template>
@@ -13,12 +13,12 @@
import { defineProps } from "vue";
interface Props {
count?: Number;
lineClass?: String;
top?: Number;
count?: number;
lineClass?: string;
top?: number;
}
const { count = 1, lineClass = "", top = 0 } = defineProps<Props>();
defineProps<Props>();
</script>
<style lang="scss" scoped>