Skip to content

Generate a starter .flowconfig file on project creation #3506

Closed
@charliedotau

Description

@charliedotau

This is not a bug report; it's a feature suggestion.

The Feature

Can I propose that in the future, when a project is created with create-react-app, it includes a starter.flowconfig file in the root.

Ideally the .flowconfig file should keep the Flow errors to a minimum, with an emphasis on Prop errors. I gather Flow is increasingly being recommended over PropTypes.

The Rationale

This feature I believe would offset (somewhat) the increased complexity of using Flow in lieu of Proptypes.

Thanks
Charlie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions