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

View File

@ -0,0 +1,9 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const max_length_1 = __importDefault(require("./max-length"));
exports.default = (value, max) => typeof value === 'string' &&
value.split(/\r?\n/).every((line) => (0, max_length_1.default)(line, max));
//# sourceMappingURL=max-line-length.js.map