Skip to content

Commit

Permalink
Create .flowconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-elzeni committed Nov 3, 2024
1 parent 48330c8 commit d22f3d2
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions .flowconfig
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

0 comments on commit d22f3d2

Please sign in to comment.