2017-11-21 05:10:03 +03:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
"noEmit": true,
|
|
|
|
"module": "commonjs",
|
2020-12-15 01:48:14 +03:00
|
|
|
"target": "ES2020",
|
2017-11-21 05:10:03 +03:00
|
|
|
"allowJs": true,
|
|
|
|
"checkJs": true,
|
|
|
|
"strict": true,
|
|
|
|
// "listFiles": true,
|
2018-06-20 21:23:56 +03:00
|
|
|
// "noErrorTruncation": true,
|
2017-11-21 05:10:03 +03:00
|
|
|
|
2018-07-31 00:47:19 +03:00
|
|
|
"resolveJsonModule": true,
|
2017-11-21 05:10:03 +03:00
|
|
|
"diagnostics": true
|
|
|
|
},
|
|
|
|
"include": [
|
|
|
|
"lighthouse-cli/**/*.js",
|
2018-05-04 01:08:46 +03:00
|
|
|
"lighthouse-core/**/*.js",
|
2018-10-26 02:11:04 +03:00
|
|
|
"clients/**/*.js",
|
|
|
|
"build/**/*.js",
|
2019-01-08 23:18:26 +03:00
|
|
|
"./types/**/*.d.ts",
|
2019-05-24 00:42:47 +03:00
|
|
|
"eslint-local-rules.js",
|
2017-11-21 05:10:03 +03:00
|
|
|
],
|
|
|
|
"exclude": [
|
2020-01-28 04:27:55 +03:00
|
|
|
"lighthouse-core/lib/cdt",
|
2020-12-23 03:03:15 +03:00
|
|
|
"lighthouse-core/test/audits/**/*.js",
|
|
|
|
"lighthouse-core/test/fixtures/**/*.js",
|
|
|
|
"lighthouse-core/test/report/**/*.js",
|
|
|
|
"lighthouse-core/test/computed/**/*.js",
|
2018-10-26 02:11:04 +03:00
|
|
|
"clients/test/**/*.js",
|
2019-01-08 23:18:26 +03:00
|
|
|
"lighthouse-cli/test/fixtures/**/*.js",
|
2020-02-19 06:21:38 +03:00
|
|
|
"lighthouse-core/scripts/legacy-javascript/variants",
|
2020-08-26 03:36:04 +03:00
|
|
|
"lighthouse-core/test/chromium-web-tests/webtests",
|
2020-12-23 03:03:15 +03:00
|
|
|
// 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",
|
2021-02-26 02:56:01 +03:00
|
|
|
"lighthouse-core/test/gather/gatherers/stack-collector-test.js",
|
2020-12-23 03:03:15 +03:00
|
|
|
"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",
|
2020-01-11 01:45:39 +03:00
|
|
|
],
|
|
|
|
"files": [
|
|
|
|
// Opt-in to typechecking for some core tests.
|
2020-12-23 03:03:15 +03:00
|
|
|
"lighthouse-core/test/audits/script-treemap-data-test.js",
|
2020-01-11 01:45:39 +03:00
|
|
|
],
|
2017-11-21 05:10:03 +03:00
|
|
|
}
|