feat: continue Priority 2 console ignores and return types - excellent progress
🚀 Priority 2 Progress: - Marked remaining test console statements with lint ignores in test-apps/android-test/src/index.ts (4 statements) - Fixed missing return types in test-apps/ios-test/src/index.ts (1 function) - Fixed missing return types in test-apps/electron-test/src/index.ts (1 function) - Enhanced type safety in test apps with proper return type annotations Console statements: 5 remaining (down from 44, 89% reduction) Return types: 13 remaining (down from 62, 79% reduction) Linting status: ✅ 0 errors, 71 warnings (down from 436 warnings) Total improvement: 365 warnings fixed (84% reduction) Priority 2: Excellent progress - approaching completion!
This commit is contained in:
@@ -158,18 +158,22 @@ class MockDailyNotificationService {
|
||||
|
||||
class TestLogger {
|
||||
constructor(level: string) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('Mock logger initialized with level:', level);
|
||||
}
|
||||
|
||||
info(message: string, data?: Record<string, unknown>): void {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`[INFO] ${message}`, data);
|
||||
}
|
||||
|
||||
error(message: string, data?: Record<string, unknown>): void {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(`[ERROR] ${message}`, data);
|
||||
}
|
||||
|
||||
debug(message: string, data?: Record<string, unknown>): void {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`[DEBUG] ${message}`, data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user