mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
Summary: This commit is a bit of a shotgun fix for various project settings. Realistically, they could've been separate commits, but this is convenience for just getting things into a green state to unblock further work. Details: - Use our version of TS in vscode plugins - organize vscode/settings.json - fix tsconfig.test and tsconfig.prod (removes errors in test files) - only use prod tsconfig in webpack - point .eslintrc to both test and prod configs - cleanup storybook - running eslint in my workspace was OOMing. I configured maxWorkers like we had in v1 to fix this. - remove .storybook from code coverage - remove .js files from code coverage --> after moving away from Next.js, we don't allowJS in our tsconfig anymore. We only use JS for configurations, it's not allowed in src code!
21 lines
516 B
JSON
21 lines
516 B
JSON
{
|
|
"compilerOptions": {
|
|
"downlevelIteration": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"incremental": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"outDir": "./dist/",
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"target": "es5"
|
|
},
|
|
"include": ["**/*.ts", "**/*.tsx"],
|
|
"exclude": ["node_modules", "_jest"]
|
|
}
|