You've already forked docusaurus-og
mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-04-22 15:27:22 -07:00
4007b6834d
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
63 lines
2.0 KiB
JSON
63 lines
2.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"declaration": true,
|
|
// These two options will be selectively overridden in each project.
|
|
// Utility libraries will have source maps on, but plugins will not.
|
|
"declarationMap": false,
|
|
"sourceMap": false,
|
|
"jsx": "react-native",
|
|
"importHelpers": true,
|
|
"noEmitHelpers": true,
|
|
// Will be overridden in client projects
|
|
"module": "NodeNext",
|
|
// Avoid accidentally using this config to build
|
|
/* Strict Type-Checking Options */
|
|
"allowUnreachableCode": false,
|
|
// Too hard to turn on
|
|
"exactOptionalPropertyTypes": false,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
// `process.env` is usually accessed as property
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"noUncheckedIndexedAccess": true,
|
|
/* strict family */
|
|
"strict": true,
|
|
"alwaysStrict": true,
|
|
"noImplicitAny": false,
|
|
"noImplicitThis": true,
|
|
"strictBindCallApply": true,
|
|
"strictFunctionTypes": true,
|
|
"strictNullChecks": true,
|
|
"strictPropertyInitialization": false,
|
|
"useUnknownInCatchVariables": true,
|
|
/* Handled by ESLint */
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"importsNotUsedAsValues": "remove",
|
|
/* Module Resolution */
|
|
"resolveJsonModule": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"allowJs": true,
|
|
"skipLibCheck": true, // @types/webpack and webpack/types.d.ts are not the same thing
|
|
"noEmit": false,
|
|
"incremental": true,
|
|
"rootDir": "src",
|
|
"outDir": "lib",
|
|
"target": "ESNext",
|
|
"lib": [
|
|
"DOM"
|
|
],
|
|
"moduleResolution": "NodeNext",
|
|
},
|
|
"include": [
|
|
"src"
|
|
],
|
|
"exclude": [
|
|
"src/theme",
|
|
"**/__tests__/**"
|
|
]
|
|
} |