@felixgeelhaar/cclint
Version:
A comprehensive linter for CLAUDE.md files with multi-language code block validation
21 lines • 505 B
JavaScript
export class Severity {
static ERROR = new Severity(2, 'error');
static WARNING = new Severity(1, 'warning');
static INFO = new Severity(0, 'info');
level;
name;
constructor(level, name) {
this.level = level;
this.name = name;
}
compareTo(other) {
return this.level - other.level;
}
toString() {
return this.name;
}
isAtLeast(minimum) {
return this.level >= minimum.level;
}
}
//# sourceMappingURL=Severity.js.map