Skip to content

Commit

Permalink
Merge pull request #52 from CMU-17313Q/static-tool-flow-setup
Browse files Browse the repository at this point in the history
Install flow tool for static analysis
  • Loading branch information
mohamed-elzeni authored Nov 3, 2024
2 parents dbbd294 + b3132ad commit 519ed1c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[options]
; 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

[ignore]
<PROJECT_ROOT>/node_modules/.*

[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 519ed1c

Please sign in to comment.