Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SublimeLinter/SublimeLinter-flow
SublimeLinter plugin for JavaScript static type checking, using flow.
https://github.com/SublimeLinter/SublimeLinter-flow
Last synced: about 2 months ago
JSON representation
SublimeLinter plugin for JavaScript static type checking, using flow.
- Host: GitHub
- URL: https://github.com/SublimeLinter/SublimeLinter-flow
- Owner: SublimeLinter
- License: mit
- Created: 2014-11-20T05:19:00.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-01T12:53:28.000Z (4 months ago)
- Last Synced: 2024-11-11T18:10:03.678Z (2 months ago)
- Language: Python
- Homepage:
- Size: 69.3 KB
- Stars: 117
- Watchers: 9
- Forks: 24
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-flow - SublimeLinter-flow - SublimeLinter plugin for JavaScript static type checking, using flow. (Integrations)
README
SublimeLinter-flow
================================![Build Status](https://github.com/SublimeLinter/SublimeLinter-flow/workflows/flake8/badge.svg)
This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [flow](http://flowtype.org/) (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](https://packagecontrol.io) to install the linter plugin.
[Getting started with Flow](http://flowtype.org/docs/getting-started.html#installing-flow)
Please make sure that the path to `flow` is available to SublimeLinter.
The docs cover [troubleshooting PATH configuration](http://sublimelinter.com/en/latest/troubleshooting.html#finding-a-linter-executable).## Settings
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.htmlAdditional SublimeLinter-flow settings:
|Setting|Description|
|:------|:----------|
|lib|Add a path to your interface files. [More info](http://flowtype.org/docs/third-party.html#interface-files)|
|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.