rules/react-native/hooks.md
This file extends common/hooks.md with React Native / Expo-specific automation guidance.
These are recommended PostToolUse automations to keep RN/Expo code healthy. Wire them in your hook runtime (or run manually); adapt commands to your package manager.
tsc --noEmit — catch type errors early.npx expo lint (uses eslint-config-expo; flat config eslint.config.js is the default from SDK 53+).prettier --write on changed files.npx expo-doctor — validates Expo/native dependency health and config.npx expo install --check — keeps native deps aligned with the installed Expo SDK.npm audit — dependency vulnerability scan.eas build / E2E for explicit commands or CI, not per-edit automation.ECC_HOOK_PROFILE, ECC_DISABLED_HOOKS).