From 7238ceffab786511a1162ab6023f2ff177fcddcf Mon Sep 17 00:00:00 2001 From: Andrey Okonetchnikov Date: Mon, 29 Oct 2018 13:16:28 +0100 Subject: [PATCH] docs: Remove the warning about partially staged files (#5310) Since partially staged files are now officially supported, this isn't up to date anymore. --- docs/precommit.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/precommit.md b/docs/precommit.md index eab8b21d9..53eafe6a0 100644 --- a/docs/precommit.md +++ b/docs/precommit.md @@ -30,8 +30,6 @@ and add this config to your `package.json`: } ``` -**Warning:** Currently there is a limitation where if you stage specific lines this approach will stage the whole file after formatting. See this [issue](https://github.com/okonet/lint-staged/issues/62) for more info. - See https://github.com/okonet/lint-staged#configuration for more details about how you can configure lint-staged. ## Option 2. [pretty-quick](https://github.com/azz/pretty-quick)