style: add eslint and prettier, fix style errors

This commit is contained in:
2026-02-13 09:59:19 +05:00
parent 5d6159fe29
commit 387c1751c6
101 changed files with 14596 additions and 12946 deletions
+25 -25
View File
@@ -1,25 +1,25 @@
<script lang="ts">
interface Props {
text: string | number;
}
let { text }: Props = $props();
</script>
<span class="badge">{text}</span>
<style>
.badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 20px;
height: 20px;
padding: 0 6px;
background: var(--action-primary);
color: var(--text-action);
border-radius: 10px;
font-size: 11px;
font-weight: 600;
}
</style>
<script lang="ts">
interface Props {
text: string | number;
}
let { text }: Props = $props();
</script>
<span class="badge">{text}</span>
<style>
.badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 20px;
height: 20px;
padding: 0 6px;
background: var(--action-primary);
color: var(--text-action);
border-radius: 10px;
font-size: 11px;
font-weight: 600;
}
</style>