Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

check-flow

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-flow

A better flow cli with ignoring files from node_modules

  • 1.0.0
  • npm
  • Socket score

Version published
Weekly downloads
15
increased by1400%
Maintainers
1
Weekly downloads
 
Created
Source

check-flow

npm Maintenance npm David CircleCI

A better flow cli with ignoring errors from files which are in node_modules folder.

Installation

yarn install --dev check-flow flow-bin

Usage

In your scripts, run flow-check to validate all of your files with without reporting errors for files inside node_modules. But you don't loose any typing definitions by needing to ignore certain files inside node_modules.

{
  "scripts": { "flow": "check-flow" }
}

Ingoring files

Ignoring files is configured by a .flowignore inside the current working directory. It supports the same syntax as the .gitignore.

Including files

The main argument to the command are globs which should only report errors for. This can be useful to only get errors from a specific directory or for something like https://github.com/okonet/lint-staged. Multiple globs can be specified.

License

MIT

FAQs

Package last updated on 30 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc