feat: adding linter for commits

This commit is contained in:
Carlos Gutierrez
2021-11-22 09:39:27 -06:00
commit 2c7c117aa1
3093 changed files with 1215197 additions and 0 deletions

13
node_modules/husky/lib/read-pkg.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const fs_1 = __importDefault(require("fs"));
const path_1 = __importDefault(require("path"));
function readPkg(dir) {
const pkgFile = path_1.default.resolve(dir, 'package.json');
const pkgStr = fs_1.default.readFileSync(pkgFile, 'utf-8');
return JSON.parse(pkgStr);
}
exports.readPkg = readPkg;