fix: remove all linter errors
This commit is contained in:
47
deno.json
47
deno.json
@@ -1,8 +1,5 @@
|
||||
{
|
||||
"nodeModulesDir": "auto",
|
||||
"unstable": [
|
||||
"cron"
|
||||
],
|
||||
"nodeModulesDir": "manual",
|
||||
"tasks": {
|
||||
"check": "deno fmt --check && deno lint && deno check",
|
||||
"start": "deno run --env-file -A main.ts",
|
||||
@@ -12,14 +9,8 @@
|
||||
"build": "vite build",
|
||||
"preview": "deno serve -A _fresh/server.js"
|
||||
},
|
||||
"lint": {
|
||||
"rules": {
|
||||
"tags": [
|
||||
"fresh",
|
||||
"recommended"
|
||||
]
|
||||
}
|
||||
},
|
||||
"lint": { "rules": { "tags": ["fresh", "recommended"] } },
|
||||
"exclude": ["**/_fresh/*"],
|
||||
"imports": {
|
||||
"@cmd-johnson/oauth2-client": "jsr:@cmd-johnson/oauth2-client@^2.0.0",
|
||||
"@components": "./components",
|
||||
@@ -36,6 +27,8 @@
|
||||
"@std/http": "jsr:@std/http@^1.0.23",
|
||||
"@std/media-types": "jsr:@std/media-types@^1.1.0",
|
||||
"@std/yaml": "jsr:@std/yaml@^1.0.10",
|
||||
"@types/jsdom": "npm:@types/jsdom@^27.0.0",
|
||||
"@types/turndown": "npm:@types/turndown@^5.0.6",
|
||||
"@zaubrik/djwt": "jsr:@zaubrik/djwt@^3.0.2",
|
||||
"csstype": "npm:csstype@^3.2.3",
|
||||
"defuddle": "npm:defuddle@^0.6.6",
|
||||
@@ -43,7 +36,7 @@
|
||||
"drizzle-orm": "npm:drizzle-orm@^0.38.4",
|
||||
"fuzzysort": "npm:fuzzysort@^3.1.0",
|
||||
"grammy": "npm:grammy@^1.39.2",
|
||||
"jsdom": "npm:jsdom@^24.1.3",
|
||||
"jsdom": "npm:jsdom@^27.4.0",
|
||||
"moviedb-promise": "npm:moviedb-promise@^4.0.7",
|
||||
"parse-ingredient": "npm:parse-ingredient@^1.3.1",
|
||||
"playwright": "npm:playwright@^1.57.0",
|
||||
@@ -52,8 +45,7 @@
|
||||
"prismjs": "npm:prismjs@^1.30.0",
|
||||
"puppeteer-extra-plugin-stealth": "npm:puppeteer-extra-plugin-stealth@^2.11.2",
|
||||
"sharp": "npm:sharp@^0.34.5",
|
||||
"tailwindcss/": "npm:/tailwindcss@^3.4.19/",
|
||||
"tailwindcss/plugin": "npm:/tailwindcss@^3.4.19/plugin.js",
|
||||
"@tailwindcss/vite": "npm:@tailwindcss/vite@^4.1.12",
|
||||
"camelcase-css": "npm:camelcase-css@2.0.1",
|
||||
"thumbhash": "npm:thumbhash@^0.1.1",
|
||||
"tsx": "npm:tsx@^4.21.0",
|
||||
@@ -64,17 +56,10 @@
|
||||
"@preact/signals": "npm:@preact/signals@^2.5.0",
|
||||
"@fresh/plugin-vite": "jsr:@fresh/plugin-vite@^1.0.8",
|
||||
"vite": "npm:vite@^7.3.1",
|
||||
"tailwindcss": "npm:tailwindcss@^4.1.18",
|
||||
"@tailwindcss/vite": "npm:@tailwindcss/vite@^4.1.18",
|
||||
"preact/": "https://esm.sh/preact@10.22.0/"
|
||||
"tailwindcss": "npm:tailwindcss@^4.1.18"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.asynciterable",
|
||||
"dom.iterable",
|
||||
"deno.ns"
|
||||
],
|
||||
"lib": ["dom", "dom.asynciterable", "dom.iterable", "deno.ns"],
|
||||
"jsx": "react-jsx",
|
||||
"jsxImportSource": "preact",
|
||||
"jsxPrecompileSkipElements": [
|
||||
@@ -93,17 +78,7 @@
|
||||
"noscript",
|
||||
"template"
|
||||
],
|
||||
"types": [
|
||||
"vite/client"
|
||||
]
|
||||
"types": ["vite/client"]
|
||||
},
|
||||
"exclude": [
|
||||
"**/_fresh/*"
|
||||
],
|
||||
"allowScripts": {
|
||||
"allow": [
|
||||
"npm:esbuild@0.27.2",
|
||||
"npm:sharp@0.34.5"
|
||||
]
|
||||
}
|
||||
"allowScripts": { "allow": ["npm:esbuild@0.27.2", "npm:sharp@0.34.5"] }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user