-
Notifications
You must be signed in to change notification settings - Fork 933
fix: commitlint is not working #4085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can the docs be improved somehow? |
Yes. I'm a windows user. MacOS and Windows encoding for files tend to be different. After taking a look my encoding was UTF-16 LE. Switching it back to UTF-8 solved the problem. I had to manually rewrite the husky |
Ah yes, here's the issue: #788 |
Waiting for you to merge it #4086 |
Steps to Reproduce
First step: Access the getting started section from commitlint
Second step: Follow all the installation/setup steps
Current Behavior
Commitlint apparently doesn't even run when commit-msg is called
Expected Behavior
To throw errors or warning whenever something is wrong.
Affected packages
Possible Solution
No response
Context
I installed it in a vite + react.js project
commitlint --version
"@commitlint/cli": "^19.3.0",
git --version
2.32.0.windows.1
node --version
20.11.1
The text was updated successfully, but these errors were encountered: