1.0.9 • Published 3 years ago
mor-lint v1.0.9
Mor-lint
Mor 代码风格检查
eslint
-命令行
eslint . --ext .js,.ts,.vue --fix
.
当前目录--ext
检查的文件扩展名--fix
自动修改并保存
官方文档 Eslint
stylelint
-命令行
stylelint . --syntax less --fix --ignore-path ./.stylelintignore | stylelint . --custom-syntax postcss-html --fix