diff --git a/README.md b/README.md index 19ac458c8..88390e084 100644 --- a/README.md +++ b/README.md @@ -315,6 +315,14 @@ See more on [this blog post](https://medium.com/@tomchentw/imagemin-lint-staged- +### Typecheck your staged files with flow + +```json +{ + "*.{js,jsx}": ["flow focus-check", "git add"] +} +``` + ## Frequently Asked Questions ### Using with JetBrains IDEs _(WebStorm, PyCharm, IntelliJ IDEA, RubyMine, etc.)_