mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
* refactor(v2): add typing for docusaurus/core * wip: last working * refactor(v2): add typing for @docusaurus/core * prettier * dont run in parallel otherwise some are uncompiled * nits * more typing * more typing * nits * type commands * nits
34 lines
828 B
JSON
34 lines
828 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es6",
|
|
"module": "commonjs",
|
|
"lib": ["es6"],
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
|
|
/* Strict Type-Checking Options */
|
|
"strict": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"strictPropertyInitialization": true,
|
|
"noImplicitThis": true,
|
|
"alwaysStrict": true,
|
|
|
|
/* Additional Checks */
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
/* Module Resolution Options */
|
|
"moduleResolution": "node",
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
|
|
/* Advanced Options */
|
|
"resolveJsonModule": true
|
|
},
|
|
"exclude": ["node_modules", "**/__tests__/**/*", "**/lib/**/*"]
|
|
}
|