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 c69976f commit 3d8ee83
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[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

[strict]
nonstrict-import
sketchy-null-number
sketchy-null-string
sketchy-null-mixed
unclear-type
untyped-import
untyped-type-import

0 comments on commit 3d8ee83

Please sign in to comment.