@felixgeelhaar/cclint
Version:
A comprehensive linter for CLAUDE.md files with multi-language code block validation
21 lines • 545 B
JavaScript
export class Location {
line;
column;
constructor(line, column) {
if (line <= 0) {
throw new Error('Line number must be positive');
}
if (column < 0) {
throw new Error('Column number must be non-negative');
}
this.line = line;
this.column = column;
}
toString() {
return `${this.line}:${this.column}`;
}
equals(other) {
return this.line === other.line && this.column === other.column;
}
}
//# sourceMappingURL=Location.js.map