mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 02:15:13 -05:00
865121259a
[web] Enable TypeScript strict mode GitOrigin-RevId: aa159fc5faf11c91382dc2498e8ec84068d5c637
26 lines
1.2 KiB
JSON
26 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext" /* Specify ECMAScript target version */,
|
|
"module": "es2020" /* Specify module code generation */,
|
|
"allowJs": true /* Allow JavaScript files to be compiled. */,
|
|
// "checkJs": true /* Report errors in .js files. */,
|
|
"jsx": "preserve" /* Specify JSX code generation */,
|
|
"noEmit": true /* Do not emit outputs. */,
|
|
"strict": true /* Enable all strict type-checking options. */,
|
|
"moduleResolution": "node" /* Specify module resolution strategy */,
|
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
|
"skipLibCheck": true /* Skip type checking of declaration files. */,
|
|
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
|
|
"types": ["cypress", "@testing-library/cypress"]
|
|
},
|
|
"include": [
|
|
"frontend/js/**/*.*",
|
|
"modules/**/frontend/js/**/*.*",
|
|
"test/frontend/**/*.*",
|
|
"modules/**/test/frontend/**/*.*",
|
|
"frontend/stories/**/*.*",
|
|
"modules/**/stories/**/*.*",
|
|
"cypress",
|
|
"types"
|
|
]
|
|
}
|