Open
Description
When i create manually commitlint.config.js then i paste module.exports = {extends: ['@commitlint/config-conventional']} then it is taking UTF-8
Expected Behavior
Is there any way to force echo command to use UTF-8, if it is not possible you can close this.
Current Behavior
When you execute below in windows it will always be in different encoding instead of UTF-8
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
Affected packages
- [x ] cli
- core
- prompt
- [x ] config-angular
Possible Solution
Steps to Reproduce (for bugs)
-
execute this in windows
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js -
check the encoding.
commitlint.config.js
```js ```Context
Your Environment
Executable | Version |
---|---|
commitlint --version |
VERSION |
8.1.0 | |
git --version | VERSION |
git version 2.19.1.windows.1 | |
node --version | VERSION |
v10.16.0 |
Thank you