SublimeLinter plugin for JavaScript static type checking, using flow.
Python
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
messages Create 4.5.0.txt Mar 3, 2018
.gitignore Initial commit Nov 20, 2014
.travis.yml Update to pydocstyle May 17, 2016
LICENSE Initial commit Nov 20, 2014
README.md update readme Apr 2, 2018
linter.py update command to use `$file` instead of `@` May 11, 2018
messages.json Update messages.json Mar 3, 2018

README.md

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

Please make sure that the path to flow 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
executable 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.