diff options
author | matsuyoshi <sfbgwm30@gmail.com> | 2021-03-27 16:38:25 +0300 |
---|---|---|
committer | matsuyoshi <sfbgwm30@gmail.com> | 2021-03-27 16:38:25 +0300 |
commit | ad92fedd8f0e6ed26d902845c9811e7032ad8465 (patch) | |
tree | 59b603a35eec1fb17d9bf6f8782d34755753a6ab /package.json | |
parent | 1101a1db64abedbb1252e5be62299dd3d5a97bb0 (diff) |
fix lint-staged target
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
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'" ] } |