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

Flow: inference_mode=constrain_writes #25422

Closed
wants to merge 3 commits into from

Commits on Oct 4, 2022

  1. Flow: inference_mode=constrain_writes

    This mode is going to be the new default in Flow going forward.
    There was an unfortuante large number of suppressions in this update.
    
    More on the changes can be found in this [Flow blog post](https://medium.com/flow-type/new-flow-language-rule-constrained-writes-4c70e375d190).
    
    Added some of the required annotations using the provided codemod:
    
    ```sh
    node_modules/.bin/flow codemod annotate-declarations --write .
    ```
    
    [ghstack-poisoned]
    kassens committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    08ebd09 View commit details
    Browse the repository at this point in the history
  2. Update on "Flow: inference_mode=constrain_writes"

    This mode is going to be the new default in Flow going forward.
    There was an unfortuante large number of suppressions in this update.
    
    More on the changes can be found in this [Flow blog post](https://medium.com/flow-type/new-flow-language-rule-constrained-writes-4c70e375d190).
    
    Added some of the required annotations using the provided codemod:
    
    ```sh
    node_modules/.bin/flow codemod annotate-declarations --write .
    ```
    
    [ghstack-poisoned]
    kassens committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    980d023 View commit details
    Browse the repository at this point in the history
  3. prettier on "Flow: inference_mode=constrain_writes"

    This mode is going to be the new default in Flow going forward.
    There was an unfortuante large number of suppressions in this update.
    
    More on the changes can be found in this [Flow blog post](https://medium.com/flow-type/new-flow-language-rule-constrained-writes-4c70e375d190).
    
    Added some of the required annotations using the provided codemod:
    
    ```sh
    node_modules/.bin/flow codemod annotate-declarations --write .
    ```
    
    [ghstack-poisoned]
    kassens committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    adfc69d View commit details
    Browse the repository at this point in the history