Closed MSDNicrosoft closed 3 years ago
I will take this if you would like to add this feature.
This should be added in @waline/client
options in my opinion. @lizheming
@Mister-Hope Thank you, I'm very happy to see you implement it~
@Mister-Hope Thank you, I'm very happy to see you implement it~
I would like to add some unit tests when writting features, which one do you prefer? jest or mocha? I will use the one you pick.
Also I would prefer to call this option wordLimit
as it's short, what's your opinion?
@Mister-Hope OK, I'd like to use jest~ and wordLimit
is OK, and it will work only when the value is not undefined
and 0
.
I also have another question. In which way are you working on this project when not uploading version lock file and not including it in .gitignore
at the same time? 🤣
There supposed to be a untracking version lock file in the project root by doing like this.
@lizheming
Shall they be add to .gitignore
or just be added into the commit history?
@Mister-Hope I usually use npm
rather than yarn
. I'm not very like lock file, so I close npm lock file config. So you can commit yarn lock file into repo, that has little effect for me.
添加个评论字数要求功能(部署时用户可选,默认关闭) 要求最多多少字和最少多少字,两个环境变量,只要添加其中任何一项就启用此功能