refactor(clock_in): rename error handling variable for clarity in check-in interactions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user