Fix lint-staged paths
Paths now start from package.json location, not project root.
This commit is contained in:
parent
67cee01f11
commit
26c76e67f7
|
@ -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"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue