Update README.md to add a notice about using lint-staged (#2565)

* Update README.md to add a notice about a limitation using lint-staged

The lint-staged example under pre-commit hooks has a limitation where if you use the [Github Desktop](https://desktop.github.com/) app to commit specific lines, this approach will stage the whole file after regardless. See this [issue](https://github.com/okonet/lint-staged/issues/62) for more info.

* Add back removed empty line

* Remove Github Desktop app reference
This commit is contained in:
Einar Löve authored and Lucas Azzola committed 2017-07-31 23:23:12 +10:00
1 parent 8ede13267e
commit 2560a51f7d
1 file changed
+1
+1
View File
@@ -342,6 +342,7 @@ and add this config to your `package.json`:
}
}
```
There is a limitation where if you stage specific lines this approach will stage the whole file after regardless. 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.