docusaurus/tsconfig.json
Reece Dunham 76c0b11632
refactor(v2): TS config update: reduce the size of npm modules (#4375)
* feat(v2): Reduce the size of the npm modules

Signed-off-by: Reece Dunham <me@rdil.rocks>

* Fix conflicts

* Update search.js

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-03-17 16:25:42 +01:00

41 lines
1.0 KiB
JSON

{
"compilerOptions": {
"target": "ES2019",
"module": "commonjs",
"lib": ["ESNext", "DOM"],
"declaration": true,
"declarationMap": false,
"jsx": "react",
/* Strict Type-Checking Options */
"strict": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
/* Additional Checks */
"noUnusedLocals": false, // ensured by eslint, should not block compilation
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
/* Disabled on purpose (handled by ESLint, should not block compilation) */
"noUnusedParameters": false,
/* Module Resolution Options */
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
/* Advanced Options */
"resolveJsonModule": true,
/* Use tslib */
"importHelpers": true,
"noEmitHelpers": true,
},
"exclude": ["node_modules", "**/__tests__/**/*", "**/lib/**/*"]
}