mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-20 05:23:31 +01:00
refactor: update deno template and loader logic (#11060)
* refactor: update deno template and loader logic * yeet --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -2,40 +2,25 @@
|
||||
"$schema": "https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json",
|
||||
"tasks": {
|
||||
"lint": "deno lint",
|
||||
"deploy": "deno run --allow-read --allow-env --allow-net src/util/deploy.ts",
|
||||
"deploy": "deno run --env-file --allow-read --allow-env --allow-net src/util/deploy.ts",
|
||||
"format": "deno fmt",
|
||||
"fmt": "deno fmt",
|
||||
"start": "deno run --allow-read --allow-env --allow-net src/index.ts",
|
||||
"start": "deno run --env-file --allow-read --allow-env --allow-net src/index.ts",
|
||||
},
|
||||
"fmt": {
|
||||
"useTabs": true,
|
||||
"lineWidth": 120,
|
||||
"singleQuote": true,
|
||||
},
|
||||
"lint": {
|
||||
"include": ["src/"],
|
||||
"rules": {
|
||||
"tags": ["recommended"],
|
||||
"exclude": ["require-await", "no-await-in-sync-fn"],
|
||||
},
|
||||
},
|
||||
"fmt": {
|
||||
"useTabs": true,
|
||||
"lineWidth": 120,
|
||||
"semiColons": true,
|
||||
"singleQuote": true,
|
||||
"proseWrap": "preserve",
|
||||
"include": ["src/"],
|
||||
},
|
||||
"compilerOptions": {
|
||||
"alwaysStrict": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"lib": ["deno.window"],
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noImplicitReturns": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"removeComments": false,
|
||||
"strict": true,
|
||||
"allowUnreachableCode": false,
|
||||
"allowUnusedLabels": false,
|
||||
"exactOptionalPropertyTypes": false,
|
||||
"noImplicitOverride": true,
|
||||
"imports": {
|
||||
"@discordjs/core": "npm:@discordjs/core@^2.2.1",
|
||||
"discord.js": "npm:discord.js@^14.22.1",
|
||||
"zod": "npm:zod@^3.25.76",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user