Files
cereale/tsconfig.json
T
SenrokaiandClaude Opus 5.5 68d5d46ec0 Config partagée : ESLint et tsconfig depuis @avalon-vanguard/config
eslint.config.mjs prend @avalon-vanguard/config/eslint, qui contient les deux
mêmes entrées qu'avant (@eslint/js recommended + typescript-eslint recommended) ;
les règles, globals et ignores propres à cereale restent ici. tsconfig.json
étend tsconfig/library.json, qui porte les huit options retirées. « strict »
reste explicite.

Pas de .editorconfig : sans config Prettier dans le dépôt, Prettier le lirait
et changerait le formatage.

.npmrc : le scope @avalon-vanguard se lit sur le registre npm de Gitea, en
lecture anonyme, sans jeton.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-01 17:03:23 +02:00

39 lines
1.3 KiB
JSON

{
// Visit https://aka.ms/tsconfig to read more about this file
// Shared (@avalon-vanguard/config/tsconfig/library.json): sourceMap, declaration,
// declarationMap, noImplicitReturns, noImplicitOverride, noFallthroughCasesInSwitch,
// isolatedModules, skipLibCheck.
"extends": "@avalon-vanguard/config/tsconfig/library.json",
"compilerOptions": {
// File Layout
"rootDir": "src",
"outDir": "dist",
// Environment Settings
"module": "NodeNext",
"target": "ES2025",
"lib": ["ESNext", "ESNext.Decorators"],
"types": ["node"],
// Stricter Typechecking Options
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
// Style Options
"noUnusedLocals": true,
"noUnusedParameters": true,
// Recommended Options
"strict": true,
"strictPropertyInitialization": false,
// NOTE: no `experimentalDecorators`. v2 uses TC39 standard decorators, which is what
// gives ClassFieldDecoratorContext<This, Value> and therefore compile-time checking of
// rules against field types. The two decorator systems cannot coexist in one program.
},
// NOTE: test files are deliberately included here so that `npm run type-check`
// covers them. The two build configs exclude them (and the demo) from `dist`.
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}