facebookarchive / ide-flowtype

Flow support for Atom IDE
Other
178 stars 17 forks source link

Validate On Edit? #63

Open ryanzec opened 6 years ago

ryanzec commented 6 years ago

Is there currently any way to validate flow on edit (or any plans for it)?

It is a bit annoy to see errors after I have fixed them or not see errors until I save the file.

willlma commented 6 years ago

+1

This is currently working for linter-eslint, so would be great to see it here too. If running on each keystroke is too onerous, debounce would do the trick.

If someone can point me to where the linter is being invoked (is it in this repo or in atom-ide-ui?) I'd be happy to submit a PR.