commitlint
commitlint copied to clipboard
commitlint config check throws semver error
Hi,
In MacOS, I ran the command commitlint config create in my Go repo. This created the default config file .commitlint.yaml in the current directory. Next I ran the command commitlint config check --config=./.commitlint.yaml. It throws the error
Error: invalid version should be in semver format.
Also, when I ran the command echo "feat: good commit message" | commitlint lint, the same error is thrown.
Running commitlint -v gave the output
commitlint version 0.10.0 - built from 83e21a6afc44e84e108e1f01aea18b2e1d197bcf on 2022-08-09T11:41:55Z
Any help from you will be much appreciated. Thanks.