forked from GoogleChrome/lighthouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
108 lines (107 loc) · 5.27 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"compilerOptions": {
"noEmit": true,
"module": "commonjs",
"target": "ES2020",
"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/audits/**/*.js",
"lighthouse-core/test/fixtures/**/*.js",
"lighthouse-core/test/report/**/*.js",
"lighthouse-core/test/computed/**/*.js",
"clients/test/**/*.js",
"lighthouse-cli/test/fixtures/**/*.js",
"lighthouse-core/scripts/legacy-javascript/variants",
"lighthouse-core/test/chromium-web-tests/webtests",
// These test files require further changes before they can be type checked.
"lighthouse-core/test/config/budget-test.js",
"lighthouse-core/test/config/config-helpers-test.js",
"lighthouse-core/test/config/config-plugin-test.js",
"lighthouse-core/test/config/config-test.js",
"lighthouse-core/test/config/default-config-test.js",
"lighthouse-core/test/create-test-trace.js",
"lighthouse-core/test/gather/devtools-log-test.js",
"lighthouse-core/test/gather/driver/wait-for-condition-test.js",
"lighthouse-core/test/gather/gatherers/accessibility-test.js",
"lighthouse-core/test/gather/gatherers/cache-contents-test.js",
"lighthouse-core/test/gather/gatherers/console-messages-test.js",
"lighthouse-core/test/gather/gatherers/dobetterweb/optimized-images-test.js",
"lighthouse-core/test/gather/gatherers/dobetterweb/password-inputs-with-prevented-paste-test.js",
"lighthouse-core/test/gather/gatherers/dobetterweb/response-compression-test.js",
"lighthouse-core/test/gather/gatherers/dobetterweb/tags-blocking-first-paint-test.js",
"lighthouse-core/test/gather/gatherers/full-page-screenshot-test.js",
"lighthouse-core/test/gather/gatherers/global-listeners-test.js",
"lighthouse-core/test/gather/gatherers/html-without-javascript-test.js",
"lighthouse-core/test/gather/gatherers/http-redirect-test.js",
"lighthouse-core/test/gather/gatherers/js-usage-test.js",
"lighthouse-core/test/gather/gatherers/link-elements-test.js",
"lighthouse-core/test/gather/gatherers/offline-test.js",
"lighthouse-core/test/gather/gatherers/runtime-exceptions-test.js",
"lighthouse-core/test/gather/gatherers/seo/font-size-test.js",
"lighthouse-core/test/gather/gatherers/service-worker-test.js",
"lighthouse-core/test/gather/gatherers/source-maps-test.js",
"lighthouse-core/test/gather/gatherers/stack-collector-test.js",
"lighthouse-core/test/gather/gatherers/start-url-test.js",
"lighthouse-core/test/gather/gatherers/trace-elements-test.js",
"lighthouse-core/test/gather/gatherers/viewport-dimensions-test.js",
"lighthouse-core/test/index-test.js",
"lighthouse-core/test/lib/arbitrary-equality-map-test.js",
"lighthouse-core/test/lib/asset-saver-test.js",
"lighthouse-core/test/lib/dependency-graph/base-node-test.js",
"lighthouse-core/test/lib/dependency-graph/simulator/connection-pool-test.js",
"lighthouse-core/test/lib/dependency-graph/simulator/dns-cache-test.js",
"lighthouse-core/test/lib/dependency-graph/simulator/network-analyzer-test.js",
"lighthouse-core/test/lib/dependency-graph/simulator/simulator-test.js",
"lighthouse-core/test/lib/emulation-test.js",
"lighthouse-core/test/lib/i18n/i18n-test.js",
"lighthouse-core/test/lib/i18n/locales-test.js",
"lighthouse-core/test/lib/i18n/swap-locale-test.js",
"lighthouse-core/test/lib/icons-test.js",
"lighthouse-core/test/lib/lh-element-test.js",
"lighthouse-core/test/lib/manifest-parser-test.js",
"lighthouse-core/test/lib/median-run-test.js",
"lighthouse-core/test/lib/minification-estimator-test.js",
"lighthouse-core/test/lib/minify-devtoolslog-test.js",
"lighthouse-core/test/lib/minify-trace-test.js",
"lighthouse-core/test/lib/network-recorder-test.js",
"lighthouse-core/test/lib/network-request-test.js",
"lighthouse-core/test/lib/page-functions-test.js",
"lighthouse-core/test/lib/proto-preprocessor-test.js",
"lighthouse-core/test/lib/rect-helpers-test.js",
"lighthouse-core/test/lib/sd-validation-test.js",
"lighthouse-core/test/lib/sentry-test.js",
"lighthouse-core/test/lib/stack-packs-test.js",
"lighthouse-core/test/lib/statistics-test.js",
"lighthouse-core/test/lib/timing-trace-saver-test.js",
"lighthouse-core/test/lib/tracehouse/cpu-profile-model-test.js",
"lighthouse-core/test/lib/tracehouse/main-thread-tasks-test.js",
"lighthouse-core/test/lib/tracehouse/trace-processor-test.js",
"lighthouse-core/test/lib/traces/pwmetrics-events-test.js",
"lighthouse-core/test/lib/url-shim-test.js",
"lighthouse-core/test/network-records-to-devtools-log-test.js",
"lighthouse-core/test/runner-test.js",
"lighthouse-core/test/scoring-test.js",
"lighthouse-core/test/scripts/i18n/bake-ctc-to-lhl-test.js",
"lighthouse-core/test/scripts/i18n/collect-strings-test.js",
],
"files": [
// Opt-in to typechecking for some core tests.
"lighthouse-core/test/audits/script-treemap-data-test.js",
],
}