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:
1 parent
8ede13267e
commit
2560a51f7d
1 file changed
+1
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user