Skip to content

Not checking node_modules #1548

@oreqizer

Description

@oreqizer

My .flowconfig file looks like this:

[ignore]
.*node_modules.*
.*data.*
.*dist.*
.*\.tmp.*

I want to ignore everything that's located in node_modules, because it throws like 20 different errors when I turn it on.
Problem is, when I let's say import _ from "lodash", Flow shouts at me that ^^^^^^^ lodash. Required module not found.

How do I make Flow to not check node_modules but recognize it's modules?

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