f842ab7c9d
Unfortunately 5efaf5a4be
broke the Svelte
language tools - presumably having paths outside of the repo is confusing
them.
As a plan B, the symlinks have been shifted to a single subdir. Along
with some exclusions in the VS Code config, this should allow VS Code
to continue to work out of the box, but the docs will need updating
to reflect the extra work required for PyCharm/IntelliJ.
+ fix svelte-check execution on a system without node installed. It
still throws up some errors that are presumably caused by our multiple
rootDirs - not sure if there's an easy way to work around that.
63 lines
2.5 KiB
JSON
63 lines
2.5 KiB
JSON
{
|
|
"include": [],
|
|
"exclude": ["node_modules"],
|
|
"references": [
|
|
{ "path": "components" },
|
|
{ "path": "congrats" },
|
|
{ "path": "deck-options" },
|
|
{ "path": "editable" },
|
|
{ "path": "editor" },
|
|
{ "path": "graphs" },
|
|
{ "path": "html-filter" },
|
|
{ "path": "reviewer" },
|
|
{ "path": "lib" },
|
|
{ "path": "domlib" },
|
|
{ "path": "sveltelib" }
|
|
],
|
|
"compilerOptions": {
|
|
"declaration": true,
|
|
"composite": true,
|
|
"target": "es6",
|
|
"module": "es2020",
|
|
"lib": [
|
|
"es2017",
|
|
"es2018.intl",
|
|
"es2018.promise",
|
|
"es2019.array",
|
|
"es2019.object",
|
|
"es2019.string",
|
|
"es2020.promise",
|
|
"dom",
|
|
"dom.iterable"
|
|
],
|
|
// uncomment for building with tsc directly
|
|
// "outDir": "dist",
|
|
"rootDir": "..",
|
|
"rootDirs": [
|
|
".",
|
|
// for VS code and svelte-check
|
|
"../.bazel/bin/ts"
|
|
],
|
|
"baseUrl": ".",
|
|
"paths": {},
|
|
"types": [],
|
|
"importsNotUsedAsValues": "error",
|
|
/* Strict Type-Checking Options */
|
|
"strict": true /* Enable all strict type-checking options. */,
|
|
"noImplicitAny": false /* Raise error on expressions and declarations with an implied 'any' type. */,
|
|
"strictNullChecks": true /* Enable strict null checks. */,
|
|
"strictFunctionTypes": true /* Enable strict checking of function types. */,
|
|
"strictBindCallApply": true /* Enable strict 'bind', 'call', and 'apply' methods on functions. */,
|
|
"strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */,
|
|
"noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */,
|
|
"alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */,
|
|
/* Module Resolution Options */
|
|
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
|
|
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
|
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
|
"jsx": "react",
|
|
"noEmitHelpers": true,
|
|
"importHelpers": true
|
|
}
|
|
}
|