Skip to content

Commit

Permalink
Fix lint-staged logging bug (typicode/husky#949 (comment))
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinoli committed Aug 30, 2021
1 parent 94717ce commit ac510ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .husky/pre-commit
Expand Up @@ -2,4 +2,3 @@
. "$(dirname "$0")/_/husky.sh"

npm run pre-commit
# node validate-yarrrml
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -16,7 +16,8 @@
"lint": "npm run lint:js",
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
"lint:fix": "npm run lint:js -- --fix",
"pre-commit": "lint-staged && node validate-yarrrml",
"lint:staged": "lint-staged",
"pre-commit": "npm run lint:staged && node validate-yarrrml",
"prepare": "husky install"
},
"lint-staged": {
Expand Down

1 comment on commit ac510ec

@valentinoli
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That didn't actually fix the issue. It is still unresolved: typicode/husky#968

Please sign in to comment.