linter-flow implements a linter plugin for Facebook's Flow JS typechecker.
- Install Flow
- Install the package
- Create an empty
.flowconfig
file at the root of your repo - Open a JS file
You should start seeing lint errors related to types - try opening the Flow example projects in Atom
- Possible cause: The PATH to your Flow executable cannot be found.
- Solution: Try launching Atom from the terminal. Alternative workarounds here: atom/atom-shell#550