renovate/tsconfig.strict.json
RahulGautamSingh 3d31fa371d
refactor(lib/util): strict null check for test files (#15812)
* add types for tmp

* expand files in lib/util

* update yarn lock

* Update tsconfig.strict.json

* util/exec

* util/git

* util/http

* Revert "util/exec"

This reverts commit 96cf479a1b.

* update strict.json

* redo util/exec

* revert util/git

* util/merge-confidence

* update util/git

* util/package-rules

* fix util/git

* util/template

* util/

* revert extras

* rm newline

* add tmp back

* apply suggestion from review

* util/cache

* more changes

* Update tsconfig.strict.json

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-19 21:17:46 +00:00

87 lines
3.8 KiB
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"strictNullChecks": true,
"noImplicitAny": true
},
"exclude": [
// tsconfig.json
"node_modules",
"./.cache",
"./dist",
"**/__mocks__/*",
"coverage",
"config.js",
"tmp",
// TODO: fixme
"lib/workers/**/*.spec.ts",
"lib/modules/datasource/**/*.spec.ts",
"lib/modules/manager/**/*.spec.ts",
"lib/modules/versioning/**/*.spec.ts",
"lib/renovate.ts",
"lib/renovate.spec.ts",
"lib/workers/global/autodiscover.ts",
"lib/workers/global/config/parse/cli.ts",
"lib/workers/global/config/parse/env.ts",
"lib/workers/global/config/parse/file.ts",
"lib/workers/global/config/parse/host-rules-from-env.ts",
"lib/workers/global/config/parse/index.ts",
"lib/workers/global/index.ts",
"lib/workers/global/initialize.ts",
"lib/workers/repository/changelog/index.ts",
"lib/workers/repository/error-config.ts",
"lib/workers/repository/error.ts",
"lib/workers/repository/finalise/index.ts",
"lib/workers/repository/finalise/prune.ts",
"lib/workers/repository/index.ts",
"lib/workers/repository/init/apis.ts",
"lib/workers/repository/init/config.ts",
"lib/workers/repository/init/index.ts",
"lib/workers/repository/init/semantic.ts",
"lib/workers/repository/init/vulnerability.ts",
"lib/workers/repository/onboarding/branch/check.ts",
"lib/workers/repository/onboarding/branch/config.ts",
"lib/workers/repository/onboarding/branch/create.ts",
"lib/workers/repository/onboarding/branch/index.ts",
"lib/workers/repository/onboarding/branch/rebase.ts",
"lib/workers/repository/onboarding/pr/base-branch.ts",
"lib/workers/repository/onboarding/pr/config-description.ts",
"lib/workers/repository/errors-warnings.ts",
"lib/workers/repository/onboarding/pr/index.ts",
"lib/workers/repository/onboarding/pr/pr-list.ts",
"lib/workers/repository/config-migration/pr/index.ts",
"lib/workers/repository/process/deprecated.ts",
"lib/workers/repository/process/extract-update.ts",
"lib/workers/repository/process/fetch.ts",
"lib/workers/repository/process/index.ts",
"lib/workers/repository/process/limits.ts",
"lib/workers/repository/process/sort.ts",
"lib/workers/repository/process/write.ts",
"lib/workers/repository/process/vulnerabilities.ts",
"lib/workers/repository/updates/branch-name.ts",
"lib/workers/repository/updates/branchify.ts",
"lib/workers/repository/updates/flatten.ts",
"lib/workers/repository/updates/generate.ts",
"lib/workers/repository/update/branch/artifacts.ts",
"lib/workers/repository/update/branch/auto-replace.ts",
"lib/workers/repository/update/branch/automerge.ts",
"lib/workers/repository/update/branch/check-existing.ts",
"lib/workers/repository/update/branch/commit.ts",
"lib/workers/repository/update/branch/execute-post-upgrade-commands.ts",
"lib/workers/repository/update/branch/get-updated.ts",
"lib/workers/repository/update/branch/handle-existing.ts",
"lib/workers/repository/update/branch/index.ts",
"lib/workers/repository/update/branch/reuse.ts",
"lib/workers/repository/update/branch/schedule.ts",
"lib/workers/repository/update/pr/automerge.ts",
"lib/workers/repository/update/pr/body/controls.ts",
"lib/workers/repository/update/pr/changelog/github/index.ts",
"lib/workers/repository/update/pr/changelog/gitlab/index.ts",
"lib/workers/repository/update/pr/changelog/index.ts",
"lib/workers/repository/update/pr/changelog/release-notes.ts",
"lib/workers/repository/update/pr/changelog/releases.ts",
"lib/workers/repository/update/pr/changelog/source-github.ts",
"lib/workers/repository/update/pr/changelog/source-gitlab.ts",
"lib/workers/repository/update/pr/code-owners.ts"
]
}