-
Notifications
You must be signed in to change notification settings - Fork 30
Add --project and -p command line option #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I ended up renaming {
"extends": "./tsconfig-base.json",
"compilerOptions": {
"strictNullChecks": true,
"plugins": [
{
"name": "typescript-strict-plugin",
"paths": ["./src/stores/", "./src/utils/"]
}
]
}
} I think this works better because now my IDE displays the stricter warnings/errors but our build process can use the less strict version. Maybe there should be a way to tell |
I guess my team is not liking all the strict null warnings in the IDE. Maybe allowing |
To be honest we could actually pass all the arguments that typescript supports to the |
Currently we use
"strict": true
but have"strictNullChecks": false
. When we runyarn tsc-strict
we get🎉 All files passed
.I am not sure how the plugin should work but I thought it would ignore the
strictNullChecks
and make ittrue
.I would like to keep the
tsconfig.json
as is and not remove"strictNullChecks": false
so it can work with our current workflow. Can you allowtsc-strict
to take the--project
and-p
command line options so we can point to another file (tsc-strict -p tsconfig-strict.json
)?The text was updated successfully, but these errors were encountered: