module.exports = { root: true, extends: '@react-native', rules: { // Explicit fire-and-forget calls are paired with local error handling and // are clearer than manufacturing unused promise chains throughout RN UI. 'no-void': 'off', // Binary audio, archive, checksum, and hash code intentionally uses exact // bitwise semantics. 'no-bitwise': 'off', // These expressions reject control bytes in imported file names/content. 'no-control-regex': 'off', // IE8 catch binding behavior is irrelevant to the Hermes native runtime. 'no-catch-shadow': 'off', // Theme-dependent values must be computed from the current palette. 'react-native/no-inline-styles': 'off', // React Navigation exposes render-prop APIs for icons, buttons, and bars. 'react/no-unstable-nested-components': ['warn', { allowAsProps: true }], }, };