style: reformat codes
This commit is contained in:
4 files changed
+16
-24
No files matched your search
@@ -1,12 +0,0 @@
|
|||||||
# http://editorconfig.org
|
|
||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
indent_style = tab
|
|
||||||
end_of_line = lf
|
|
||||||
charset = utf-8
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
insert_final_newline = true
|
|
||||||
|
|
||||||
[*.yml]
|
|
||||||
indent_style = space
|
|
||||||
+10
-9
@@ -5,41 +5,42 @@
|
|||||||
/* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
/* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
||||||
"target": "es2021",
|
"target": "es2021",
|
||||||
/* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
/* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
||||||
"lib": ["es2021"],
|
"lib": [
|
||||||
|
"es2021"
|
||||||
|
],
|
||||||
/* Specify what JSX code is generated. */
|
/* Specify what JSX code is generated. */
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
|
|
||||||
/* Specify what module code is generated. */
|
/* Specify what module code is generated. */
|
||||||
"module": "es2022",
|
"module": "es2022",
|
||||||
/* Specify how TypeScript looks up a file from a given module specifier. */
|
/* Specify how TypeScript looks up a file from a given module specifier. */
|
||||||
"moduleResolution": "Bundler",
|
"moduleResolution": "Bundler",
|
||||||
/* Enable importing .json files */
|
/* Enable importing .json files */
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
|
|
||||||
/* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
|
/* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
/* Enable error reporting in type-checked JavaScript files. */
|
/* Enable error reporting in type-checked JavaScript files. */
|
||||||
"checkJs": false,
|
"checkJs": false,
|
||||||
|
|
||||||
/* Disable emitting files from a compilation. */
|
/* Disable emitting files from a compilation. */
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
|
|
||||||
/* Ensure that each file can be safely transpiled without relying on other imports. */
|
/* Ensure that each file can be safely transpiled without relying on other imports. */
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
/* Allow 'import x from y' when a module doesn't have a default export. */
|
/* Allow 'import x from y' when a module doesn't have a default export. */
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
/* Ensure that casing is correct in imports. */
|
/* Ensure that casing is correct in imports. */
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
|
||||||
/* Enable all strict type-checking options. */
|
/* Enable all strict type-checking options. */
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
|
||||||
/* Skip type checking all .d.ts files. */
|
/* Skip type checking all .d.ts files. */
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"types": [
|
"types": [
|
||||||
"./worker-configuration.d.ts"
|
"./worker-configuration.d.ts"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"exclude": ["test"],
|
"exclude": [
|
||||||
"include": ["worker-configuration.d.ts", "src/**/*.ts"]
|
"test"
|
||||||
|
],
|
||||||
|
"include": [
|
||||||
|
"worker-configuration.d.ts",
|
||||||
|
"src/**/*.ts"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
+3
-3
@@ -1,11 +1,11 @@
|
|||||||
import { defineWorkersConfig } from '@cloudflare/vitest-pool-workers/config';
|
import { defineWorkersConfig } from "@cloudflare/vitest-pool-workers/config"
|
||||||
|
|
||||||
export default defineWorkersConfig({
|
export default defineWorkersConfig({
|
||||||
test: {
|
test: {
|
||||||
poolOptions: {
|
poolOptions: {
|
||||||
workers: {
|
workers: {
|
||||||
wrangler: { configPath: './wrangler.jsonc' },
|
wrangler: { configPath: "./wrangler.jsonc" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
})
|
||||||
Vendored
+3
@@ -3,6 +3,9 @@
|
|||||||
// Runtime types generated with workerd@1.20250617.0 2025-06-28
|
// Runtime types generated with workerd@1.20250617.0 2025-06-28
|
||||||
declare namespace Cloudflare {
|
declare namespace Cloudflare {
|
||||||
interface Env {
|
interface Env {
|
||||||
|
LARK_BOT_ID: string
|
||||||
|
LARK_SIGN_KEY: string
|
||||||
|
UNIAPI_TOKEN: string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
interface Env extends Cloudflare.Env {}
|
interface Env extends Cloudflare.Env {}
|
||||||
|
|||||||
Reference in new issue
Block a user