Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal: enable + enforce flow strict on every file #841

Merged

Conversation

christianvuerings
Copy link
Contributor

@christianvuerings christianvuerings commented May 5, 2020

Flow Strict

enable stronger safety guarantees in Flow (such as banning any/Object/Function types and requiring all dependencies to be typed)

Changes:

  • Enabled flow strict for every file
  • Add linter so we don't regress

Allows other repositories to use Gestalt in Flow strict mode.

@christianvuerings christianvuerings requested a review from a team as a code owner May 5, 2020 15:10
Copy link
Member

@jennyscript jennyscript left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this!

@christianvuerings christianvuerings merged commit 2de1d88 into pinterest:master May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants