forked from CMU-17313Q/cmu-17313q-f24-nodebb-f24-NodeBB
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48330c8
commit d22f3d2
Showing
1 changed file
with
21 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
[ignore] | ||
|
||
[include] | ||
|
||
[libs] | ||
[options] | ||
; Check all files, not just those with @flow comments | ||
all=true | ||
; Enable IDE autocomplete for imports | ||
autoimports=true | ||
; Treat object types as exact by default | ||
exact_by_default=true | ||
; Include warnings in the error output | ||
include_warnings=true | ||
; Improve performance on large codebases | ||
lazy_mode=true | ||
|
||
[lints] | ||
; Warn about potentially unsafe null checks | ||
sketchy-null=warn | ||
; Throw an error if a type import is untyped | ||
untyped-type-import=error | ||
internal-type=error | ||
deprecated-type-bool=error | ||
|
||
[options] | ||
|
||
[strict] | ||
nonstrict-import | ||
sketchy-null-number | ||
sketchy-null-string | ||
sketchy-null-mixed | ||
unclear-type | ||
untyped-import | ||
untyped-type-import |