ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-flow

by SublimeLinter ST3

SublimeLinter plugin for JavaScript static type checking, using flow.

Details

Installs

  • Total 8K
  • Win 2K
  • OS X 5K
  • Linux 1K
Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7
Windows 0 1 2 2 2 3 2 1 5 6 2 5 2 1 1 3 4 5 1 1 0 1 2 0 4 3 2 3 0 3 4 2 4 2 1 0 0 1 2 1 6 5 0 1 5 2
OS X 4 5 9 8 7 17 8 3 6 5 9 12 9 6 0 6 5 7 7 7 2 3 4 6 3 6 4 3 2 3 7 5 9 9 6 4 8 14 7 9 13 6 9 4 5 8
Linux 0 1 0 3 0 3 1 5 1 3 2 0 1 0 2 0 3 0 3 1 0 1 1 0 2 1 1 0 0 1 1 2 2 2 1 3 2 2 0 2 3 0 0 0 0 2

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-flow

Build Status

This linter plugin for SublimeLinter provides an interface to flow (0.1.0 or later), a static type checker for JavaScript. It will be used with files that have the “JavaScript” syntax.

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Getting started with Flow

In order for flow to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.

Settings

Additional SublimeLinter-flow settings:

Setting Description
lib Add a path to your interface files. More info
show-all-errors It allows flow to output all errors instead of stopping at 50
flow-bin Allows to specify the path to the flow executable
coverage Shows flow coverage warnings
all runs flow against all files regardless of @flow comment

Warning

At this moment, using all in a medium to big sized node.js project may cause a crash. It's recommended to use flow incrementally, one file at a time.