Skip to content
This repository was archived by the owner on Oct 28, 2020. It is now read-only.

Add rule to prevent usage of Object type annotation #42

@vitorbal

Description

@vitorbal

We almost never want to use Object, and should use {} instead. See also the official docs

This would prevent bugs like this one: https://github.com/zapier/zapier/issues/18827#issuecomment-406423982

I think we can use this eslint-plugin-flow rule

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions