{ "compilerOptions": { "noEmit": true, "module": "commonjs", "target": "ES2017", "allowJs": true, "checkJs": true, "strict": true, // "listFiles": true, // "noErrorTruncation": true, "resolveJsonModule": true, "diagnostics": true }, "include": [ "lighthouse-cli/**/*.js", "lighthouse-core/**/*.js", "clients/**/*.js", "build/**/*.js", "./types/**/*.d.ts", "eslint-local-rules.js", ], "exclude": [ "lighthouse-core/lib/cdt", "lighthouse-core/test/**/*.js", "clients/test/**/*.js", "lighthouse-cli/test/fixtures/**/*.js", "lighthouse-core/scripts/legacy-javascript/variants", ], "files": [ // Opt-in to typechecking for some core tests. "lighthouse-core/test/scripts/lantern/constants-test.js", "lighthouse-core/test/gather/driver-test.js", "lighthouse-core/test/gather/gather-runner-test.js", ], }