refactor(clock_in): rename error handling variable for clarity in check-in interactions

This commit is contained in:
Achintha Isuru
2026-03-14 20:28:28 -04:00
parent 10bd61b250
commit f6de07fc25
7 changed files with 28 additions and 26 deletions

View File

@@ -47,6 +47,7 @@ If any of these files are missing or unreadable, notify the user before proceedi
- Skip tests for business logic
### ALWAYS:
- **Use `package:` imports everywhere inside `lib/`** for consistency and robustness. Use relative imports only in `test/` and `bin/` directories. Example: `import 'package:staff_clock_in/src/presentation/bloc/clock_in/clock_in_bloc.dart';` not `import '../bloc/clock_in/clock_in_bloc.dart';`
- Place reusable utility functions (math, geo, formatting, etc.) in `apps/mobile/packages/core/lib/src/utils/` and export from `core.dart` — never keep them as private methods in feature packages
- Use feature-first packaging: `domain/`, `data/`, `presentation/`
- Export public API via barrel files