max-line-length.js 460 B

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