{"id":68017,"date":"2024-09-30T17:42:10","date_gmt":"2024-09-30T12:12:10","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=68017"},"modified":"2024-10-03T14:12:00","modified_gmt":"2024-10-03T08:42:00","slug":"eslint-prettier-configuration-react-nativeairbnb-style","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/","title":{"rendered":"EsLint &#038; Prettier Configuration React Native(Airbnb Style)"},"content":{"rendered":"<p>This is a step-by-step guide for integrating <strong>ESLint<\/strong> and <strong>Prettier<\/strong> into a <a href=\"https:\/\/2thenew.online\/react-native-development-services\"><strong>React Native<\/strong><\/a> project to ensure code quality and consistent formatting. You are essentially setting up <strong>Airbnb&#8217;s style guide<\/strong> with React-specific configurations and integrating it with <strong>Prettier<\/strong> to automatically format the code.<\/p>\n<div class=\"section\">\n<h3>Steps Breakdown<\/h3>\n<h4>1. Install Dependencies<\/h4>\n<p>Remove the previous ESLint configuration, and install the necessary packages.<\/p>\n<h4>Commands:<\/h4>\n<pre><code>yarn remove @react-native-community\/eslint-config eslint<\/code><\/pre>\n<pre><code>yarn add -D eslint eslint-plugin-react-native prettier eslint-config-prettier<\/code><\/pre>\n<\/div>\n<div class=\"section\">\n<h4>2. Initialize ESLint<\/h4>\n<p>Run the following command to initialize ESLint and generate a configuration file:<\/p>\n<pre><code>npx eslint --init<\/code><\/pre>\n<p>Follow the prompts as outlined below:<\/p>\n<ul>\n<li><strong>Q1:<\/strong> Choose &#8220;To check syntax, find problems, and enforce code style.&#8221;<\/li>\n<li><strong>Q2:<\/strong> Choose &#8220;JavaScript modules (import\/export).&#8221;<\/li>\n<li><strong>Q3:<\/strong> Choose &#8220;React.&#8221;<\/li>\n<li><strong>Q4:<\/strong> Select &#8220;No&#8221; for TypeScript support.<\/li>\n<li><strong>Q5:<\/strong> Choose &#8220;Node&#8221; (since React Native runs in a Node environment).<\/li>\n<li><strong>Q6:<\/strong> Choose &#8220;Use a popular style guide.&#8221;<\/li>\n<li><strong>Q7:<\/strong> Choose &#8220;Airbnb.&#8221;<\/li>\n<li><strong>Q8:<\/strong> Choose &#8220;JSON&#8221; for the config file format.<\/li>\n<\/ul>\n<p>Select &#8220;Yes&#8221; when prompted to install the dependencies.<\/p>\n<\/div>\n<div class=\"section\">\n<h4>3. Update <code>.eslintrc.json<\/code><\/h4>\n<p>Replace the generated <code>.eslintrc.json<\/code> file with the following configuration to integrate <strong>Prettier<\/strong> and React Native-specific rules:<\/p>\n<pre><code>{\r\n  \"env\": {\r\n    \"browser\": true,\r\n    \"es2021\": true\r\n  },\r\n  \"extends\": [\r\n    \"plugin:react\/recommended\",\r\n    \"airbnb\",\r\n    \"airbnb\/hooks\",\r\n    \"prettier\"\r\n  ],\r\n  \"plugins\": [\"react\", \"react-native\"],\r\n  \"parserOptions\": {\r\n    \"ecmaVersion\": \"latest\",\r\n    \"sourceType\": \"module\"\r\n  },\r\n  \"rules\": {\r\n    \"react\/function-component-definition\": \"off\",\r\n    \"no-param-reassign\": \"off\",\r\n    \"react\/jsx-filename-extension\": [1, { \"extensions\": [\".js\", \".jsx\"] }],\r\n    \"no-use-before-define\": [\"error\", { \"variables\": false }],\r\n    \"react\/prop-types\": [\"error\", { \"ignore\": [\"navigation\", \"navigation.navigate\"] }],\r\n    \"react-native\/no-inline-styles\": \"error\",\r\n    \"max-lines\": [\"error\", { \"max\": 500 }]\r\n  }\r\n}<\/code><\/pre>\n<\/div>\n<div class=\"section\">\n<h4>4. Create <code>.eslintignore<\/code><\/h4>\n<p>Add a <code>.eslintignore<\/code> file to exclude certain files or directories from ESLint checks.<\/p>\n<h4><code>.eslintignore<\/code>:<\/h4>\n<pre><code>node_modules\/\r\nbuild\/*.js\r\nconfig\/*.js\r\ncoverage\/*.js\r\ncoverage\/*\r\njest\/*.js\r\n__tests__\/*\r\n__tests__\/*.js<\/code><\/pre>\n<\/div>\n<div class=\"section\">\n<h4>5. Create <code>.prettierrc.json<\/code><\/h4>\n<p>Add the following configuration in a <code>.prettierrc.json<\/code> file to set up <strong>Prettier<\/strong> formatting rules:<\/p>\n<pre><code>{\r\n  \"arrowParens\": \"always\",\r\n  \"bracketSpacing\": true,\r\n  \"jsxBracketSameLine\": false,\r\n  \"jsxSingleQuote\": false,\r\n  \"quoteProps\": \"as-needed\",\r\n  \"singleQuote\": true,\r\n  \"semi\": true,\r\n  \"printWidth\": 100,\r\n  \"useTabs\": false,\r\n  \"tabWidth\": 2,\r\n  \"trailingComma\": \"es5\"\r\n}<\/code><\/pre>\n<\/div>\n<div class=\"section\">\n<h4>6. Add Scripts to <code>package.json<\/code><\/h4>\n<p>Add the following scripts to your <code>package.json<\/code> file to run <strong>ESLint<\/strong> and <strong>Prettier<\/strong>:<\/p>\n<h4><code>package.json<\/code>:<\/h4>\n<pre><code>\"scripts\": {\r\n  \"lint\": \"eslint .\",\r\n  \"lintFixAll\": \"eslint 'src\/**\/*.{js,jsx}' --fix\",\r\n  \"prettierFixAll\": \"prettier --write 'src\/**\/*.{js,jsx}'\",\r\n  \"fix:lintPrettier\": \"yarn prettierFixAll &amp;&amp; yarn lintFixAll\"\r\n}<\/code><\/pre>\n<p>This will allow you to lint and fix code formatting issues with a single command.<\/p>\n<\/div>\n<div class=\"section\">\n<h4>7. Usage<\/h4>\n<p>You can now run the following commands to check and fix issues in your project:<\/p>\n<ul>\n<li><strong>Lint all files:<\/strong> <code>yarn lint<\/code><\/li>\n<li><strong>Fix all ESLint issues:<\/strong> <code>yarn lintFixAll<\/code><\/li>\n<li><strong>Fix all Prettier formatting issues:<\/strong> <code>yarn prettierFixAll<\/code><\/li>\n<li><strong>Run both Prettier and ESLint fixes:<\/strong> <code>yarn fix:lintPrettier<\/code><\/li>\n<\/ul>\n<\/div>\n<div class=\"section\">\n<h3>Conclusion<\/h3>\n<p>By following these steps, your React Native project will be set up with <strong>ESLint<\/strong>, <strong>Prettier<\/strong>, and <strong>Airbnb\u2019s style guide<\/strong>, ensuring code quality and formatting consistency.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This is a step-by-step guide for integrating ESLint and Prettier into a React Native project to ensure code quality and consistent formatting. You are essentially setting up Airbnb&#8217;s style guide with React-specific configurations and integrating it with Prettier to automatically format the code. Steps Breakdown 1. Install Dependencies Remove the previous ESLint configuration, and install [&hellip;]<\/p>\n","protected":false},"author":1786,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":44,"footnotes":""},"categories":[5881],"tags":[6803,6808,6804,6805,6456,6801,6807,55,1156,6802,6806,4064,5853],"class_list":["post-68017","post","type-post","status-publish","format-standard","hentry","category-react-native","tag-airbnbstyleguide","tag-codeconsistency","tag-codeformatting","tag-codelinting","tag-codequality","tag-eslint","tag-eslintconfig","tag-javascript","tag-node","tag-prettier","tag-prettierconfig","tag-react","tag-reactnative"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"This is a step-by-step guide for integrating ESLint and Prettier into a React Native project to ensure code quality and consistent formatting. You are essentially setting up Airbnb&#039;s style guide with React-specific configurations and integrating it with Prettier to automatically format the code. Steps Breakdown 1. Install Dependencies Remove the previous ESLint configuration, and install\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Ajmal Hasan\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"EsLint &amp; Prettier Configuration React Native(Airbnb Style) | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"This is a step-by-step guide for integrating ESLint and Prettier into a React Native project to ensure code quality and consistent formatting. You are essentially setting up Airbnb&#039;s style guide with React-specific configurations and integrating it with Prettier to automatically format the code. Steps Breakdown 1. Install Dependencies Remove the previous ESLint configuration, and install\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"EsLint &amp; Prettier Configuration React Native(Airbnb Style) | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"This is a step-by-step guide for integrating ESLint and Prettier into a React Native project to ensure code quality and consistent formatting. You are essentially setting up Airbnb&#039;s style guide with React-specific configurations and integrating it with Prettier to automatically format the code. Steps Breakdown 1. Install Dependencies Remove the previous ESLint configuration, and install\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/eslint-prettier-configuration-react-nativeairbnb-style\\\/#article\",\"name\":\"EsLint & Prettier Configuration React Native(Airbnb Style) | TO THE NEW Blog\",\"headline\":\"EsLint &#038; Prettier Configuration React Native(Airbnb Style)\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ajmal-hasan\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2024-09-30T17:42:10+05:30\",\"dateModified\":\"2024-10-03T14:12:00+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/eslint-prettier-configuration-react-nativeairbnb-style\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/eslint-prettier-configuration-react-nativeairbnb-style\\\/#webpage\"},\"articleSection\":\"React Native, AirbnbStyleGuide, CodeConsistency, CodeFormatting, CodeLinting, CodeQuality, ESLint, ESLintConfig, javascript, node, Prettier, PrettierConfig, react, ReactNative\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/eslint-prettier-configuration-react-nativeairbnb-style\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/react-native\\\/#listItem\",\"name\":\"React Native\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/react-native\\\/#listItem\",\"position\":2,\"name\":\"React Native\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/react-native\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/eslint-prettier-configuration-react-nativeairbnb-style\\\/#listItem\",\"name\":\"EsLint &#038; Prettier Configuration React Native(Airbnb Style)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/eslint-prettier-configuration-react-nativeairbnb-style\\\/#listItem\",\"position\":3,\"name\":\"EsLint &#038; Prettier Configuration React Native(Airbnb Style)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/react-native\\\/#listItem\",\"name\":\"React Native\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ajmal-hasan\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ajmal-hasan\\\/\",\"name\":\"Ajmal Hasan\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/eslint-prettier-configuration-react-nativeairbnb-style\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/eslint-prettier-configuration-react-nativeairbnb-style\\\/\",\"name\":\"EsLint & Prettier Configuration React Native(Airbnb Style) | TO THE NEW Blog\",\"description\":\"This is a step-by-step guide for integrating ESLint and Prettier into a React Native project to ensure code quality and consistent formatting. You are essentially setting up Airbnb's style guide with React-specific configurations and integrating it with Prettier to automatically format the code. Steps Breakdown 1. Install Dependencies Remove the previous ESLint configuration, and install\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/eslint-prettier-configuration-react-nativeairbnb-style\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ajmal-hasan\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/ajmal-hasan\\\/#author\"},\"datePublished\":\"2024-09-30T17:42:10+05:30\",\"dateModified\":\"2024-10-03T14:12:00+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"EsLint & Prettier Configuration React Native(Airbnb Style) | TO THE NEW Blog","description":"This is a step-by-step guide for integrating ESLint and Prettier into a React Native project to ensure code quality and consistent formatting. You are essentially setting up Airbnb's style guide with React-specific configurations and integrating it with Prettier to automatically format the code. Steps Breakdown 1. Install Dependencies Remove the previous ESLint configuration, and install","canonical_url":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/#article","name":"EsLint & Prettier Configuration React Native(Airbnb Style) | TO THE NEW Blog","headline":"EsLint &#038; Prettier Configuration React Native(Airbnb Style)","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/ajmal-hasan\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"datePublished":"2024-09-30T17:42:10+05:30","dateModified":"2024-10-03T14:12:00+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/#webpage"},"articleSection":"React Native, AirbnbStyleGuide, CodeConsistency, CodeFormatting, CodeLinting, CodeQuality, ESLint, ESLintConfig, javascript, node, Prettier, PrettierConfig, react, ReactNative"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/react-native\/#listItem","name":"React Native"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/react-native\/#listItem","position":2,"name":"React Native","item":"https:\/\/2thenew.online\/blog\/category\/react-native\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/#listItem","name":"EsLint &#038; Prettier Configuration React Native(Airbnb Style)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/#listItem","position":3,"name":"EsLint &#038; Prettier Configuration React Native(Airbnb Style)","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/react-native\/#listItem","name":"React Native"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/ajmal-hasan\/#author","url":"https:\/\/2thenew.online\/blog\/author\/ajmal-hasan\/","name":"Ajmal Hasan"},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/#webpage","url":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/","name":"EsLint & Prettier Configuration React Native(Airbnb Style) | TO THE NEW Blog","description":"This is a step-by-step guide for integrating ESLint and Prettier into a React Native project to ensure code quality and consistent formatting. You are essentially setting up Airbnb's style guide with React-specific configurations and integrating it with Prettier to automatically format the code. Steps Breakdown 1. Install Dependencies Remove the previous ESLint configuration, and install","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/ajmal-hasan\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/ajmal-hasan\/#author"},"datePublished":"2024-09-30T17:42:10+05:30","dateModified":"2024-10-03T14:12:00+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"EsLint &amp; Prettier Configuration React Native(Airbnb Style) | TO THE NEW Blog","og:description":"This is a step-by-step guide for integrating ESLint and Prettier into a React Native project to ensure code quality and consistent formatting. You are essentially setting up Airbnb's style guide with React-specific configurations and integrating it with Prettier to automatically format the code. Steps Breakdown 1. Install Dependencies Remove the previous ESLint configuration, and install","og:url":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"EsLint &amp; Prettier Configuration React Native(Airbnb Style) | TO THE NEW Blog","twitter:description":"This is a step-by-step guide for integrating ESLint and Prettier into a React Native project to ensure code quality and consistent formatting. You are essentially setting up Airbnb's style guide with React-specific configurations and integrating it with Prettier to automatically format the code. Steps Breakdown 1. Install Dependencies Remove the previous ESLint configuration, and install","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"68017","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2024-09-28 12:13:22","updated":"2024-10-03 08:42:03","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\/category\/react-native\/\" title=\"React Native\">React Native<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tEsLint &amp; Prettier Configuration React Native(Airbnb Style)\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"React Native","link":"https:\/\/2thenew.online\/blog\/category\/react-native\/"},{"label":"EsLint &#038; Prettier Configuration React Native(Airbnb Style)","link":"https:\/\/2thenew.online\/blog\/eslint-prettier-configuration-react-nativeairbnb-style\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/68017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/1786"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=68017"}],"version-history":[{"count":4,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/68017\/revisions"}],"predecessor-version":[{"id":68113,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/68017\/revisions\/68113"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=68017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=68017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=68017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}