This commit is contained in:
gcch 2026-03-29 16:27:08 +02:00
commit 63781a6119
16 changed files with 3502 additions and 0 deletions

4
cfg/eslint.config.ts Normal file
View file

@ -0,0 +1,4 @@
import { configAstro } from "@gcch/configuration-eslint";
import { defineConfig } from "eslint/config";
export default defineConfig([...configAstro]);

8
cfg/knip.config.ts Normal file
View file

@ -0,0 +1,8 @@
import type { KnipConfig } from "knip";
const config: Readonly<KnipConfig> = {
entry: ["index.ts!"],
project: ["**/*.{js,ts}"],
};
export default config;

3
cfg/oxlint.config.ts Normal file
View file

@ -0,0 +1,3 @@
import config from "../index";
export default config;

9
cfg/prettier.config.ts Normal file
View file

@ -0,0 +1,9 @@
import type { Config } from "prettier";
import { configClassique } from "@gcch/configuration-prettier";
const config: Config = {
...configClassique,
};
export default config;

4
cfg/prettierignore Normal file
View file

@ -0,0 +1,4 @@
.cache
bun.lock
dist
node_modules

16
cfg/tsdown.config.ts Normal file
View file

@ -0,0 +1,16 @@
import type { UserConfig } from "tsdown";
import { defineConfig } from "tsdown";
const config: UserConfig = defineConfig({
clean: true,
dts: { oxc: true, parallel: true },
entry: ["../index.ts"],
minify: false,
outDir: "../dist",
platform: "node",
sourcemap: false,
target: "esnext",
treeshake: true,
});
export default config;