mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-21 06:28:11 +08:00
934cc5c69b
* Added TS. Updated build and linting config. Added types. * [ts-migrate][.] Rename files from JS/JSX to TS/TSX Co-authored-by: ts-migrate <> * [ts-migrate][.] Run TS Migrate Co-authored-by: ts-migrate <> * Corrected files mangled by ts-migrate. * Updated lint config, minor linting. * Re-enabled Husky. * Updated tests and config. * Reverted webpack devtool config. * Removed obsolete snapshots. * Added annotations snap. * Updated tsconfig includes wrt linting. * Removed ts-migrate. Co-authored-by: Timmy Huang <tihuan@users.noreply.github.com>
33 lines
919 B
JSON
33 lines
919 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"esModuleInterop": true,
|
|
// Allow @connect
|
|
"experimentalDecorators": true,
|
|
// Ensure Babel can safely transpile files
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"lib": ["dom", "es2020"],
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"noEmit": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"target": "esnext",
|
|
"types": ["jest", "puppeteer", "jest-environment-puppeteer", "expect-puppeteer"],
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true
|
|
},
|
|
"include": [
|
|
"src/**/*",
|
|
"configuration/**/*",
|
|
"__tests__/**/*",
|
|
"jest-puppeteer.config.js"
|
|
],
|
|
"exclude": [
|
|
"__tests__/e2e/__snapshots__/**/*",
|
|
]
|
|
}
|