feat: adding linter for commits
This commit is contained in:
12
node_modules/husky/lib/getConf.js
generated
vendored
Normal file
12
node_modules/husky/lib/getConf.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const cosmiconfig_1 = require("cosmiconfig");
|
||||
function getConf(dir) {
|
||||
const explorer = cosmiconfig_1.cosmiconfigSync('husky');
|
||||
const { config = {} } = explorer.search(dir) || {};
|
||||
const defaults = {
|
||||
skipCI: true,
|
||||
};
|
||||
return Object.assign(Object.assign({}, defaults), config);
|
||||
}
|
||||
exports.getConf = getConf;
|
||||
Reference in New Issue
Block a user