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 eae275f719
commit 525312dc92

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"
]