module.exports = { root: true, extends: ["@react-native-community", "plugin:prettier/recommended"], env: { jest: true, browser: true, }, ignorePatterns: ["**/generated/**"], rules: { "react/no-unstable-nested-components": ["error", { allowAsProps: true }], curly: "warn", "eslint-comments/no-unused-disable": "off", "@typescript-eslint/no-unused-vars": [ "warn", { vars: "all", args: "after-used", argsIgnorePattern: "^_", ignoreRestSiblings: true, }, ], "react/jsx-no-leaked-render": ["error", { validStrategies: ["ternary", "coerce"] }], "react-native/no-inline-styles": "off", "react/react-in-jsx-scope": "off", "react-hooks/exhaustive-deps": [ "warn", { enableDangerousAutofixThisMayCauseInfiniteLoops: true, additionalHooks: "(useAnimatedStyle|useAnimatedProps|useDerivedValue|useAnimatedGestureHandler|useStyle)", }, ], "object-shorthand": ["warn", "always"], "react/jsx-curly-brace-presence": ["error", { props: "never", children: "never" }], }, };