diff --git a/package.json b/package.json index 11f8512..ec2bb21 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ }, "lint-staged": { "*.{js,vue}": [ - "eslint --fix", + "eslint --ext .js,.vue src", "git add" ] }, diff --git a/src/views/test/index.vue b/src/views/test/index.vue index 7958689..26a6778 100644 --- a/src/views/test/index.vue +++ b/src/views/test/index.vue @@ -25,7 +25,7 @@