-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
46 lines (46 loc) · 1.35 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"compilerOptions": {
/* Emit */
"target": "es2022",
"module": "Commonjs",
"lib": [
"ESNext",
"DOM"
],
"jsx": "react-native",
"declaration": true,
"removeComments": true,
"sourceMap": true,
/* Type Checking */
"allowUnreachableCode": false,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
// Set the same strict mode options that are required for packages
// published in the @types namespace.
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
/* Modules */
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"moduleResolution": "node16",
"types": [
"node",
"@docusaurus/theme-classic",
],
/* Plugins */
"plugins": [
{
// TODO(dnguyen0304): Consider setting the classnameTransform
// option so we can use standard CSS naming conventions instead
// of camelCase.
"name": "typescript-plugin-css-modules",
},
],
}
}