element-call-Github/tsconfig.json

37 lines
959 B
JSON
Raw Normal View History

2022-05-06 18:32:09 +08:00
{
"compilerOptions": {
2022-05-07 05:44:03 +08:00
"target": "es2016",
2022-05-30 17:09:13 +08:00
"module": "es2020",
"jsx": "react-jsx",
"lib": ["es2020", "dom", "dom.iterable"],
// From Matrix-JS-SDK
"strict": true,
"noEmit": true,
"noEmitOnError": true,
"experimentalDecorators": true,
"esModuleInterop": true,
"noUnusedLocals": true,
"moduleResolution": "node",
"declaration": true,
// TODO: Enable the following options later.
// "forceConsistentCasingInFileNames": true,
// "noFallthroughCasesInSwitch": true,
// "noImplicitOverride": true,
// "noImplicitReturns": true,
// "noPropertyAccessFromIndexSignature": true,
// "noUncheckedIndexedAccess": true,
// "noUnusedParameters": true,
"plugins": [{ "name": "typescript-eslint-language-service" }]
2022-05-06 18:32:09 +08:00
},
"include": [
"./node_modules/matrix-js-sdk/src/@types/*.d.ts",
"./src/**/*.ts",
"./src/**/*.tsx",
"./test/**/*.ts",
"./test/**/*.tsx"
]
2022-05-06 18:32:09 +08:00
}