Fix lint-staged paths

Paths now start from package.json location, not project root.
This commit is contained in:
Michael Lange 2018-01-23 13:34:19 -08:00
parent 67cee01f11
commit 26c76e67f7

View file

@ -14,11 +14,11 @@
"precommit": "lint-staged"
},
"lint-staged": {
"ui/{app,tests,config,lib,mirage}/**/*.js": [
"{app,tests,config,lib,mirage}/**/*.js": [
"prettier --write",
"git add"
],
"ui/app/styles/**/*.*": [
"app/styles/**/*.*": [
"prettier --write",
"git add"
]