0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00
posthog/tsconfig.json
Alex Gyujin Kim 8121a4d933
Fix and standardize multiple table UI inconsistencies (#4727)
* fix multiple table bugs and standardize table overflows

* support more es2019 functions like Object.fromEntries

* simplify getting active breakout value

* unset maxWidth for resizable cols by default

* fix feature flag key cutoff and empty description bug

* ellipsify feature flag table

* labels or dates or days

* fix bugs; refactor table scroll

* fix double key and increase the width just a bit

Co-authored-by: Marius Andra <marius.andra@gmail.com>
Co-authored-by: Sam Winslow <sammywinslow@gmail.com>
2021-06-24 17:09:41 +02:00

34 lines
1.9 KiB
JSON

{
"compilerOptions": {
"baseUrl": "./frontend/",
"paths": {
"lib/*": ["./src/lib/*"],
"scenes/*": ["./src/scenes/*"],
"~/*": ["./src/*"],
"types/*": ["./types/*"],
"public/*": ["./public/*"]
},
// https://www.sitepoint.com/react-with-typescript-best-practices/
"allowJs": true, // Allow JavaScript files to be compiled
"skipLibCheck": true, // Skip type checking of all declaration files
"esModuleInterop": true, // Disables namespace imports (import * as fs from "fs") and enables CJS/AMD/UMD style imports (import fs from "fs")
"allowSyntheticDefaultImports": true, // Allow default imports from modules with no default export
"strict": true, // Enable all strict type checking options
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file.
"module": "esnext", // Specify module code generation
"moduleResolution": "node", // Resolve modules using Node.js style
"resolveJsonModule": true, // Include modules imported with .json extension
"noEmit": true, // Do not emit output (meaning do not compile code, only perform type checking)
"jsx": "react", // Support JSX in .tsx files
"sourceMap": true, // Generate corrresponding .map file
"declaration": true, // Generate corresponding .d.ts file
"noUnusedLocals": true, // Report errors on unused locals
"noUnusedParameters": true, // Report errors on unused parameters
"experimentalDecorators": true, // Enables experimental support for ES decorators
"noFallthroughCasesInSwitch": true, // Report errors for fallthrough cases in switch statement
"lib": ["dom", "es2019"]
},
"include": ["frontend/**/*"],
"exclude": ["node_modules/**/*", "staticfiles/**/*", "frontend/dist/**/*"]
}