standardlint
Version:
Extensible standards linter and auditor.
48 lines (46 loc) • 1.63 kB
JavaScript
;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/application/errors/errors.ts
var errors_exports = {};
__export(errors_exports, {
InvalidFiletreeError: () => InvalidFiletreeError,
MissingChecksError: () => MissingChecksError
});
module.exports = __toCommonJS(errors_exports);
var MissingChecksError = class extends Error {
constructor() {
super();
this.name = "MissingChecksError";
const message = "Missing checks!";
this.message = message;
}
};
var InvalidFiletreeError = class extends Error {
constructor() {
super();
this.name = "InvalidFiletreeError";
const message = "Invalid filetree provided: Must contain at least 1 string if a filetree is to be used.";
this.message = message;
}
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
InvalidFiletreeError,
MissingChecksError
});