Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:41:56 +08:00
commit 9bae611409
13 changed files with 964 additions and 0 deletions

28
hooks/shared/constants.ts Normal file
View File

@@ -0,0 +1,28 @@
/**
* Shared constants for bun-runner hooks.
*/
/**
* File extensions supported by Biome for linting and formatting.
* Includes JavaScript, TypeScript, JSON, CSS, and GraphQL.
*/
export const BIOME_SUPPORTED_EXTENSIONS = [
".js",
".jsx",
".ts",
".tsx",
".mjs",
".cjs",
".mts",
".cts",
".json",
".jsonc",
".css",
".graphql",
".gql",
];
/**
* File extensions supported by TypeScript compiler.
*/
export const TSC_SUPPORTED_EXTENSIONS = [".ts", ".tsx", ".mts", ".cts"];