Unstage yarn.lock pre-commit (#2700)

Since yarn.lock shouldn't be added to the repo, nor excluded via
.gitignore, lets take advantage of lint-staged to remove any staged
yarn.lock files before they can even be committed.
This commit is contained in:
Jon Crenshaw
2017-08-01 18:52:26 -07:00
committed by Joe Haddad
parent 57f2cd70f7
commit 20c953d091

View File

@@ -25,6 +25,9 @@
"*.js": [
"prettier --trailing-comma es5 --single-quote --write",
"git add"
],
"yarn.lock": [
"git rm --cached"
]
}
}