Skip to content

Pronto runner for flow, a static type checker for javascript

License

Notifications You must be signed in to change notification settings

samedi/pronto-flow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pronto runner for flow (using flow from npm)

Gem Version Build Status Code Climate Test Coverage Dependency Status

Pronto runner for flow, a static type checker for javascript. What is Pronto?

Uses official flow executable installed by npm.

Prerequisites

You'll need to install flow by yourself with npm. If flow is in your PATH, everything will simply work, otherwise you have to provide pronto-flow your custom executable path (see below).

Configuration of flow

Configuring flow via .flowconfig will work just fine with pronto-flow.

Configuration of pronto-flow

pronto-flow can be configured by placing a .pronto_flow.yml inside the directory where pronto is run.

Following options are available:

Option Meaning Default
flow_executable flow executable to call. flow (calls flow in PATH)
cli_options Options to pass to the CLI. --json

Example configuration to call custom flow executable:

# .pronto_flow.yml
flow_executable: '/my/custom/node/path/.bin/flow'
cli_options: '--show-all-errors'

About

Pronto runner for flow, a static type checker for javascript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%