lighthouse/tsconfig.json

109 строки
5.3 KiB
JSON
Исходник Обычный вид История

{
"compilerOptions": {
"noEmit": true,
"module": "commonjs",
2020-12-15 01:48:14 +03:00
"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",
2020-01-11 01:45:39 +03:00
],
"files": [
// Opt-in to typechecking for some core tests.
"lighthouse-core/test/audits/script-treemap-data-test.js",
2020-01-11 01:45:39 +03:00
],
}