byt-commit-hooks
Version:
git commit hooks
14 lines • 356 B
JavaScript
/*
* @Description:
* @Author: 王国火
* @Date: 2025-06-23 15:49:13
* @LastEditTime: 2025-06-24 13:09:19
* @LastEditors: 王国火
*/
const { lintFileNames,getConfig } = require('../lib/index');
async function run() {
//先检查根目录下是否有配置文件
const config = await getConfig();
lintFileNames(config);
}
run();