mirror of
https://github.com/peakoss/anti-slop
synced 2026-12-01 13:39:13 +08:00
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://www.schemastore.org/tsconfig",
|
|
"include": ["src", "tsdown.config.ts", "eslint.config.ts", "prettier.config.ts"],
|
|
"exclude": ["tests", "dist", "node_modules"],
|
|
"compilerOptions": {
|
|
"lib": ["ES2024"],
|
|
"target": "ES2024",
|
|
"module": "Preserve",
|
|
"moduleDetection": "force",
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"noEmit": true,
|
|
"declaration": true,
|
|
"strict": true,
|
|
"allowUnusedLabels": false,
|
|
"allowUnreachableCode": false,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"isolatedModules": true,
|
|
"isolatedDeclarations": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true,
|
|
"resolveJsonModule": true,
|
|
"newLine": "lf"
|
|
}
|
|
}
|