ui: Lint staged no longer requires git add to be specified (#8285)

This commit is contained in:
John Cowen 2020-07-10 14:25:59 +01:00 committed by hashicorp-ci
parent d44341b65f
commit 7fe2ac9714

View File

@ -41,12 +41,10 @@
}, },
"lint-staged": { "lint-staged": {
"{app,config,lib,server,tests}/**/*.js": [ "{app,config,lib,server,tests}/**/*.js": [
"prettier --write", "prettier --write"
"git add"
], ],
"app/styles/**/*.*": [ "app/styles/**/*.*": [
"prettier --write", "prettier --write"
"git add"
] ]
}, },
"devDependencies": { "devDependencies": {