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

14
node_modules/@commitlint/read/lib/read.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const get_history_commits_1 = require("./get-history-commits");
const get_edit_commit_1 = require("./get-edit-commit");
// Get commit messages
async function getCommitMessages(settings) {
const { cwd, from, to, edit } = settings;
if (edit) {
return (0, get_edit_commit_1.getEditCommit)(cwd, edit);
}
return (0, get_history_commits_1.getHistoryCommits)({ from, to }, { cwd });
}
exports.default = getCommitMessages;
//# sourceMappingURL=read.js.map