Skip to content

Commit

Permalink
ESLint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Karakoc committed Oct 18, 2024
1 parent 5e81f22 commit 7354100
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/ts/entry/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export * from "../components/livestreams";
export * from "../components/course";
export * from "../components/servernotifications";
export * from "../components/main";
export * from "../utilities/lectureHallValidator"
export * from "../utilities/lectureHallValidator";
2 changes: 1 addition & 1 deletion web/ts/utilities/lectureHallValidator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function isLectureHallValid(lectureHall: string): boolean {
const regex = /^\d{4}\.[A-Z0-9]{2}\.[A-Z0-9]{3,4}$/;
return regex.test(lectureHall);
}
}

0 comments on commit 7354100

Please sign in to comment.