Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Add rules to .flowconfig for flow strict rules #2288

Closed
wants to merge 1 commit into from
Closed

Add rules to .flowconfig for flow strict rules #2288

wants to merge 1 commit into from

Commits on Dec 20, 2019

  1. Add rules to .flowconfig for flow strict rules

    Internally at facebook, we use `@flow strict` to define certain rules that make our codebase more reliable. I just noticed the .flowconfig for this repo doesn't include rules for `@flow strict`. We do have files in the repo annotated with strict flow, so lets configure it to get the benefits.
    
    Unfortunatley, there's 3 rules we have enabled internally which we can't use in the repo as it exists today. I put the necessary info as a comment on the .flowconfig itself.
    
    npm run flow -> no errors.
    mrkev committed Dec 20, 2019
    Configuration menu
    Copy the full SHA
    b829543 View commit details
    Browse the repository at this point in the history