forked from GoogleChrome/lighthouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
41 lines (40 loc) · 1.2 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"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",
"lighthouse-core/test/chromium-web-tests/webtests",
],
"files": [
// Opt-in to typechecking for some core tests.
"lighthouse-core/test/scripts/lantern/constants-test.js",
"lighthouse-core/test/gather/driver/execution-context-test.js",
"lighthouse-core/test/fraggle-rock/gather/session-test.js",
"lighthouse-core/test/fraggle-rock/gather/driver-test.js",
"lighthouse-core/test/gather/driver-test.js",
"lighthouse-core/test/gather/gather-runner-test.js",
"lighthouse-core/test/audits/script-treemap-data-test.js"
],
}