一个命令行工具,用来给js项目添加git commit约束, 添加eslint
- 添加
eslint支持,规范代码 (实际上是安装eslint然后运行eslint --init) - 添加
commitlint,规范提交 - 自动检查并跳过已经添加的
npm install pstd -g
在项目根目录执行 pstd
A cli giving advice for ECMAScript project
- guide to use
eslint(actually it just installeslintand runeslint --init) - guide to use
commitlint - autodetect the items above
npm install pstd -g
run pstd in root directory of project