Lightweight Flow integration for Atom. The package provides linting, autocomplete suggestions, outline support, and jump-to-declaration.
Either search for linter-flowtype
in the editor UI or install via apm
:
apm install linter-flowtype
Settings can be configured either in the Preferences or by editing ~/.atom/config.cson
:
'linter-flowtype':lintOnChange: trueonlyLintIfConfigExists: trueshowUncovered: falseexecutablePath: ''useLocalFlowBin: truehyperclickPriority: 0
lintOnChange
- if disabled, linting will only happen when a file is savedonlyLintIfConfigExists
- only lint if a .flowconfig
file existsshowUncovered
- if enabled, display uncovered linesexecutablePath
- if set, this path will be used to run flow
(otherwise it will use flow
from the PATH or from node_modules
)useLocalFlowBin
- if true, it will look for flow
installed in the local node_modules
hyperclickPriority
- the priority of Hyperclick suggestionsThe motivation for the creation of this package was to support as-you-type linting in addition to other integrations like using flow
from node_modules
, autocomplete, and outline support. It began as a fork of flow-ide, incorporating features from many other packages.
Alternatives to this package include:
ide-flow
, adding linting as-you-type, outline support, and additional configuration optionsThis project is MIT licensed - see LICENSE
.
This project makes use of code from several other open-source Atom Flow packages, primarily flow-ide and linter-flow. Original copyright notices appear in LICENSE
.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.