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