commitlint icon indicating copy to clipboard operation
commitlint copied to clipboard

commitlint config check throws semver error

Open epretha opened this issue 2 years ago • 0 comments

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.

epretha avatar Jan 01 '23 07:01 epretha