2026-04-03
- eslint OK - import OK - jsdoc OK - node OK - oxc OK - promise OK
This commit is contained in:
parent
93dd909919
commit
09b660d265
22 changed files with 2250 additions and 1597 deletions
|
|
@ -1,4 +1,6 @@
|
|||
import { configAstro } from "@gcch/configuration-eslint";
|
||||
import { defineConfig } from "eslint/config";
|
||||
|
||||
export default defineConfig([...configAstro]);
|
||||
const config = defineConfig([...configAstro]);
|
||||
|
||||
export default config;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
import config from "../index";
|
||||
import config from "../index.ts";
|
||||
|
||||
export default config;
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
import type { UserConfig } from "tsdown";
|
||||
|
||||
import { defineConfig } from "tsdown";
|
||||
|
||||
const config: UserConfig = defineConfig({
|
||||
checks: { circularDependency: true },
|
||||
clean: true,
|
||||
dts: { oxc: true, parallel: true },
|
||||
entry: ["../index.ts"],
|
||||
minify: false,
|
||||
outDir: "../dist",
|
||||
platform: "node",
|
||||
publint: true,
|
||||
sourcemap: false,
|
||||
target: "esnext",
|
||||
treeshake: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue