kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/typescript/testdata/tsconfig.for.tests.json (about) 1 { 2 "compilerOptions": { 3 "module": "commonjs", 4 "target": "es6", 5 "jsx": "preserve", 6 // Disable searching for @types typings. This prevents TS from looking 7 // around for a node_modules directory. 8 "types": [], 9 // Intentionally enable lax compiler checks for tests. 10 // We need to be able to index code that isn't as strict as the settings 11 // used for developing the indexer. 12 "noImplicitAny": false, 13 "strictNullChecks": false, 14 "experimentalDecorators": true, 15 16 // Set up an alternative "root dir", which are roots from which 17 // relative paths are looked up. This models the way that you 18 // can generate a file and refer to it as "./generated_file", despite it 19 // being physically not located in the current directory but rather in 20 // a parallel directory in the bazel-genfiles hierarchy. 21 // The below settings make it so paths in the 22 // testdata/... 23 // testdata/fake-genfiles/testdata/... 24 // hierarchies are equivalent. 25 "rootDir": "..", 26 "rootDirs": [ 27 "..", 28 "./fake-genfiles_group" 29 ] 30 }, 31 "exclude": [ 32 "plugin.ts" 33 ] 34 }