Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matsuyoshi30/harbor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatsuyoshi <sfbgwm30@gmail.com>2021-03-27 16:38:25 +0300
committermatsuyoshi <sfbgwm30@gmail.com>2021-03-27 16:38:25 +0300
commitad92fedd8f0e6ed26d902845c9811e7032ad8465 (patch)
tree59b603a35eec1fb17d9bf6f8782d34755753a6ab /package.json
parent1101a1db64abedbb1252e5be62299dd3d5a97bb0 (diff)
fix lint-staged target
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 6c00ced..8405e2b 100644
--- a/package.json
+++ b/package.json
@@ -42,10 +42,10 @@
}
},
"lint-staged": {
- "!(bundle).html": [
+ "layouts/**/!(bundle).html": [
"prettier-eslint --write $PWD/'static/src/**/*.js $PWD/'layouts/**/*.html'"
],
- "!(bundle).js": [
+ "static/**/!(bundle).js": [
"eslint $PWD/'static/src/**/*.js'"
]
}