Closed
Description
Expected Behavior
If you have windows line endings in your config file, things should run as normal
Current Behavior
If you run the recommended echo
command on Windows, it will break things as it will output Windows Line Endings.
Affected packages
- cli
- core
- prompt
- config-angular
Possible Solution
Add support for windows line endings in CLI
Steps to Reproduce (for bugs)
- Open Windows machine
- Run
echo "module.exports = {extends: ['@commitlint/config-angular']};" > commitlint.config.js
- Run
commitlint
Context
Trying to setup commitlint
in my project on Windows
Your Environment
Executable | Version |
---|---|
commitlint --version |
5.6.0 |
git --version |
git version 2.16.0.windows.2 |
node --version |
v8.9.1 |
Metadata
Metadata
Assignees
Labels
No labels