diff --git a/scripts/validate_architecture.py b/scripts/validate_architecture.py index a9a83e83..2f49035a 100755 --- a/scripts/validate_architecture.py +++ b/scripts/validate_architecture.py @@ -2750,6 +2750,21 @@ class ArchitectureValidator: # JS-004: Check Alpine components set currentPage self._check_alpine_current_page(file_path, content, lines) + # JS-005: Check initialization guard + self._check_init_guard(file_path, content, lines) + + # JS-006: Check async error handling + self._check_async_error_handling(file_path, content, lines) + + # JS-007: Check loading state management + self._check_loading_state(file_path, content, lines) + + # JS-008: Check for raw fetch() calls instead of apiClient + self._check_fetch_vs_api_client(file_path, content, lines) + + # JS-009: Check for alert() or window.showToast instead of Utils.showToast() + self._check_toast_usage(file_path, content, lines) + # JS-010: Check PlatformSettings usage for pagination self._check_platform_settings_usage(file_path, content, lines)