Lightweight alternative to Facebook's Flow plugin for facebook/flow.
apm install linter-flow
You can configure linter-flow by editing ~/.atom/config.cson (choose Open Your Config in Atom menu) or in Preferences:
'linter-flow':'executablePath': 'flow''enableAll': false
executablePath: Absolute path to the Flow executable on your system.
enableAll: Typecheck all files, not just file containing
linter-flow is made to be a lightweight package that does one thing well.
Please Note: IDE-flow and Nuclide provide other features such as autocomplete, type definitions on hover etc. Please continue to use those services for those features. (possibly in addition to linter-flow)
This linter currently does not support Hack. Though the linter just uses the flow-cli and hack support should be trivial to add, I'm not a Hack/PHP developer and I can't test that it actually works. I would welcome if someone was to add support for Hack to this package and test it.
If you would like to contribute enhancements or fixes, please do the following:
Please note that modifications should follow these coding guidelines:
eslintlinter with the provided
Thank you for helping out!
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.