Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

feat: Disallow "strict": false #277

Merged
merged 1 commit into from
Mar 2, 2020

Conversation

ExE-Boss
Copy link
Contributor

@ExE-Boss ExE-Boss commented Mar 2, 2020

This disallows setting "strict": false in DefinitelyTyped packages, as there’s no package that has strict set to false, only 3 that have it set to true.

I’m opening this as a new PR, because #275 depends on all DefinitelyTyped packages having "noImplicitAny": true, which will require fixing the remaining 49 packages that won’t yet be fixed by DefinitelyTyped/DefinitelyTyped#42682.


I’ve also disallowed overriding "strict": true with "noImplicitAny", "noImplicitThis", "strictNullChecks" or "strictFunctionTypes", as no DefinitelyTyped package does this either.

@ExE-Boss ExE-Boss requested a review from sandersn as a code owner March 2, 2020 18:49
@ExE-Boss ExE-Boss mentioned this pull request Mar 2, 2020
2 tasks
@sandersn sandersn merged commit 02bf509 into microsoft:master Mar 2, 2020
@ExE-Boss ExE-Boss deleted the feat/disallow-strict-false branch March 2, 2020 19:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants