add svelte check to lint script

This commit is contained in:
2026-06-28 16:42:56 +02:00
parent c9f5b594ff
commit 0455b53992
6 changed files with 9 additions and 4 deletions
+1 -2
View File
@@ -20,10 +20,9 @@
"build:firefox": "wxt build -b firefox", "build:firefox": "wxt build -b firefox",
"zip": "wxt zip", "zip": "wxt zip",
"zip:firefox": "wxt zip -b firefox", "zip:firefox": "wxt zip -b firefox",
"check": "svelte-check --tsconfig ./tsconfig.json",
"postinstall": "wxt prepare", "postinstall": "wxt prepare",
"format": "prettier --write .", "format": "prettier --write .",
"lint": "prettier --check . && eslint ." "lint": "prettier --check . && eslint . && svelte-check --tsconfig ./tsconfig.json"
}, },
"devDependencies": { "devDependencies": {
"@eslint/compat": "^2.1.0", "@eslint/compat": "^2.1.0",
@@ -1 +1,3 @@
<script lang="ts"></script>
<div class="w-full border-b-[1px] border-gray-400"></div> <div class="w-full border-b-[1px] border-gray-400"></div>
@@ -1,3 +1,5 @@
<script lang="ts"></script>
<div class="h-full flex items-center justify-center"> <div class="h-full flex items-center justify-center">
<p class="text-[1.05rem]">Extension disabled</p> <p class="text-[1.05rem]">Extension disabled</p>
</div> </div>
+1 -1
View File
@@ -60,6 +60,6 @@
<style> <style>
* { * {
@apply select-none; user-select: none;
} }
</style> </style>
@@ -1,3 +1,5 @@
<script lang="ts"></script>
<div class="relative h-full"> <div class="relative h-full">
<div class="h-full flex items-center justify-center"> <div class="h-full flex items-center justify-center">
<p class="text-[1.05rem]">No supported video found on this site</p> <p class="text-[1.05rem]">No supported video found on this site</p>
@@ -33,7 +33,7 @@
<style> <style>
* { * {
@apply select-none; user-select: none;
} }
.details { .details {