2017-11-21 05:10:03 +03:00
|
|
|
{
|
2021-09-16 20:51:20 +03:00
|
|
|
"extends": "./tsconfig-base.json",
|
2017-11-21 05:10:03 +03:00
|
|
|
"compilerOptions": {
|
2018-07-31 00:47:19 +03:00
|
|
|
"resolveJsonModule": true,
|
2017-11-21 05:10:03 +03:00
|
|
|
},
|
2021-09-16 20:51:20 +03:00
|
|
|
"references": [
|
|
|
|
{"path": "./types/lhr/"},
|
|
|
|
{"path": "./report/"},
|
|
|
|
{"path": "./report/generator/"},
|
2021-10-04 21:26:24 +03:00
|
|
|
{"path": "./shared/"},
|
2022-05-07 01:24:53 +03:00
|
|
|
{"path": "./treemap/"},
|
2021-09-16 20:51:20 +03:00
|
|
|
],
|
2017-11-21 05:10:03 +03:00
|
|
|
"include": [
|
2022-07-29 23:55:41 +03:00
|
|
|
"cli/**/*.js",
|
|
|
|
"core/**/*.js",
|
|
|
|
"core/index.cjs",
|
2018-10-26 02:11:04 +03:00
|
|
|
"clients/**/*.js",
|
|
|
|
"build/**/*.js",
|
2019-01-08 23:18:26 +03:00
|
|
|
"./types/**/*.d.ts",
|
2024-03-08 01:39:16 +03:00
|
|
|
"./core/lib/lantern/types/**/*.d.ts",
|
2022-06-30 23:14:10 +03:00
|
|
|
"eslint-local-rules.cjs",
|
2022-02-05 01:13:25 +03:00
|
|
|
"third-party/axe/valid-langs.js",
|
2023-07-15 01:32:02 +03:00
|
|
|
"third-party/esbuild-plugins-polyfills/esbuild-polyfills.js",
|
2021-08-14 01:03:15 +03:00
|
|
|
|
2022-07-29 23:55:41 +03:00
|
|
|
"core/test/results/sample_v2.json",
|
|
|
|
"core/test/fixtures/unresolved-perflog.json",
|
|
|
|
"core/test/fixtures/traces/lcp-m78.devtools.log.json",
|
|
|
|
"core/audits/byte-efficiency/polyfill-graph-data.json",
|
2021-10-04 21:26:24 +03:00
|
|
|
"shared/localization/locales/en-US.json",
|
2021-08-14 01:03:15 +03:00
|
|
|
],
|
2017-11-21 05:10:03 +03:00
|
|
|
"exclude": [
|
2023-07-19 01:57:29 +03:00
|
|
|
"build/test/*test-case*.js",
|
2022-07-29 23:55:41 +03:00
|
|
|
"core/test/audits/**/*.js",
|
|
|
|
"core/test/fixtures/**/*.js",
|
|
|
|
"core/test/computed/**/*.js",
|
2018-10-26 02:11:04 +03:00
|
|
|
"clients/test/**/*.js",
|
2022-07-29 23:55:41 +03:00
|
|
|
"cli/test/fixtures/**/*.js",
|
|
|
|
"core/scripts/legacy-javascript/variants",
|
2020-12-23 03:03:15 +03:00
|
|
|
// These test files require further changes before they can be type checked.
|
2022-07-29 23:55:41 +03:00
|
|
|
"core/test/config/config-helpers-test.js",
|
|
|
|
"core/test/config/config-plugin-test.js",
|
|
|
|
"core/test/config/default-config-test.js",
|
|
|
|
"core/test/gather/driver/wait-for-condition-test.js",
|
|
|
|
"core/test/gather/gatherers/accessibility-test.js",
|
|
|
|
"core/test/gather/gatherers/cache-contents-test.js",
|
|
|
|
"core/test/gather/gatherers/console-messages-test.js",
|
|
|
|
"core/test/gather/gatherers/devtools-log-test.js",
|
|
|
|
"core/test/gather/gatherers/dobetterweb/optimized-images-test.js",
|
|
|
|
"core/test/gather/gatherers/dobetterweb/response-compression-test.js",
|
|
|
|
"core/test/gather/gatherers/full-page-screenshot-test.js",
|
|
|
|
"core/test/gather/gatherers/global-listeners-test.js",
|
|
|
|
"core/test/gather/gatherers/html-without-javascript-test.js",
|
|
|
|
"core/test/gather/gatherers/js-usage-test.js",
|
|
|
|
"core/test/gather/gatherers/link-elements-test.js",
|
|
|
|
"core/test/gather/gatherers/offline-test.js",
|
|
|
|
"core/test/gather/gatherers/runtime-exceptions-test.js",
|
|
|
|
"core/test/gather/gatherers/seo/font-size-test.js",
|
|
|
|
"core/test/gather/gatherers/source-maps-test.js",
|
|
|
|
"core/test/gather/gatherers/stack-collector-test.js",
|
|
|
|
"core/test/gather/gatherers/start-url-test.js",
|
|
|
|
"core/test/gather/gatherers/trace-elements-test.js",
|
|
|
|
"core/test/gather/gatherers/viewport-dimensions-test.js",
|
|
|
|
"core/test/index-test.js",
|
|
|
|
"core/test/lib/arbitrary-equality-map-test.js",
|
|
|
|
"core/test/lib/asset-saver-test.js",
|
|
|
|
"core/test/lib/emulation-test.js",
|
|
|
|
"core/test/lib/i18n/i18n-test.js",
|
|
|
|
"core/test/lib/icons-test.js",
|
2024-03-05 04:52:44 +03:00
|
|
|
"core/test/lib/lantern/base-node-test.js",
|
2024-03-29 04:49:18 +03:00
|
|
|
"core/test/lib/lantern/metrics/*",
|
2024-03-06 01:21:36 +03:00
|
|
|
"core/test/lib/lantern/page-dependency-graph-test.js",
|
2024-03-05 04:52:44 +03:00
|
|
|
"core/test/lib/lantern/simulator/connection-pool-test.js",
|
|
|
|
"core/test/lib/lantern/simulator/dns-cache-test.js",
|
|
|
|
"core/test/lib/lantern/simulator/network-analyzer-test.js",
|
|
|
|
"core/test/lib/lantern/simulator/simulator-test.js",
|
2022-07-29 23:55:41 +03:00
|
|
|
"core/test/lib/lh-element-test.js",
|
2023-02-01 03:30:18 +03:00
|
|
|
"core/test/lib/lighthouse-compatibility-test.js",
|
2022-07-29 23:55:41 +03:00
|
|
|
"core/test/lib/manifest-parser-test.js",
|
|
|
|
"core/test/lib/median-run-test.js",
|
|
|
|
"core/test/lib/minification-estimator-test.js",
|
|
|
|
"core/test/lib/minify-devtoolslog-test.js",
|
|
|
|
"core/test/lib/network-recorder-test.js",
|
|
|
|
"core/test/lib/network-request-test.js",
|
|
|
|
"core/test/lib/page-functions-test.js",
|
|
|
|
"core/test/lib/proto-preprocessor-test.js",
|
|
|
|
"core/test/lib/rect-helpers-test.js",
|
2023-12-07 02:43:12 +03:00
|
|
|
"core/test/lib/script-helpers-test.js",
|
2022-07-29 23:55:41 +03:00
|
|
|
"core/test/lib/sentry-test.js",
|
|
|
|
"core/test/lib/stack-packs-test.js",
|
|
|
|
"core/test/lib/statistics-test.js",
|
|
|
|
"core/test/lib/timing-trace-saver-test.js",
|
|
|
|
"core/test/lib/tracehouse/cpu-profile-model-test.js",
|
|
|
|
"core/test/lib/tracehouse/main-thread-tasks-test.js",
|
|
|
|
"core/test/lib/tracehouse/task-summary-test.js",
|
|
|
|
"core/test/lib/tracehouse/trace-processor-test.js",
|
2022-08-10 01:52:31 +03:00
|
|
|
"core/test/lib/traces/metrics-trace-events-test.js",
|
2022-09-08 00:49:47 +03:00
|
|
|
"core/test/lib/url-utils-test.js",
|
2022-07-29 23:55:41 +03:00
|
|
|
"core/test/network-records-to-devtools-log-test.js",
|
|
|
|
"core/test/runner-test.js",
|
|
|
|
"core/test/scoring-test.js",
|
|
|
|
"core/test/scripts/i18n/bake-ctc-to-lhl-test.js",
|
2020-01-11 01:45:39 +03:00
|
|
|
],
|
|
|
|
"files": [
|
2021-08-14 01:03:15 +03:00
|
|
|
// Opt-in to typechecking for some core tests and test-support files.
|
2022-07-29 23:55:41 +03:00
|
|
|
"cli/test/fixtures/static-server.js",
|
2023-01-12 01:23:25 +03:00
|
|
|
"core/test/audits/bf-cache-test.js",
|
2023-12-08 20:50:30 +03:00
|
|
|
"core/test/audits/third-party-cookies-test.js",
|
2022-12-14 01:33:02 +03:00
|
|
|
"core/test/audits/script-treemap-data-test.js",
|
|
|
|
"core/test/computed/metrics/interactive-test.js",
|
2023-07-06 00:24:39 +03:00
|
|
|
"core/test/computed/tbt-impact-tasks-test.js",
|
2022-07-29 23:55:41 +03:00
|
|
|
"core/test/fixtures/config-plugins/lighthouse-plugin-simple/plugin-simple.js",
|
2020-01-11 01:45:39 +03:00
|
|
|
],
|
2017-11-21 05:10:03 +03:00
|
|
|
}
|