Skip to content

Commit 9b38116

Browse files
Tony QiuTony Qiu
authored andcommitted
update linting to remove console.log in frontend
1 parent 07ba019 commit 9b38116

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

frontend/eslint.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,12 @@ export default tseslint.config([
2222
rules: {
2323
'@typescript-eslint/no-unused-vars': [
2424
'error',
25-
{ argsIgnorePattern: '^_' }
26-
]
25+
{
26+
argsIgnorePattern: '^_',
27+
varsIgnorePattern: '^_'
28+
}
29+
],
30+
'no-console': ['error', { allow: ['error', 'warn'] }]
2731
},
2832
},
2933
])

frontend/src/hooks/useEvents.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ export function useEvents(view: "grid" | "calendar") {
9999

100100
return rawEvents
101101
.filter((event) => {
102-
console.log(event);
103102
const eventDateStr = event.date; // e.g., "2025-09-24"
104103

105104
// If event is on a future date, include it

0 commit comments

Comments
 (0)