Reputation: 1
While using commit, I am getting pre-commit error from husky. If I run yarn lint, yarn lint:fix manually it don't give any error. But when I try to commit it give me error.
While using commit, I am getting pre-commit error from husky. If I run yarn lint
, yarn lint:fix
manually it don't give any error. But when I try to commit it gives me error:
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"yarn format:fix",
"yarn lint:fix"
]
},
Upvotes: 0
Views: 117