From f05ada6c8f5190999df1ac036fcc647dc9ca624e Mon Sep 17 00:00:00 2001 From: Max Stoiber Date: Fri, 19 Oct 2018 11:40:33 +0200 Subject: [PATCH] docs: Add an example for type checking with flow (#502) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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.)_