{"id":17823477,"url":"https://github.com/lucasgabrieldeaa/desafio-gonative2","last_synced_at":"2026-04-28T11:04:54.902Z","repository":{"id":74266521,"uuid":"125423682","full_name":"lucasGabrielDeAA/desafio-gonative2","owner":"lucasGabrielDeAA","description":null,"archived":false,"fork":false,"pushed_at":"2018-03-22T20:41:59.000Z","size":973,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-02T11:10:26.305Z","etag":null,"topics":["react-native"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucasGabrielDeAA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-15T20:40:03.000Z","updated_at":"2018-04-17T18:00:46.000Z","dependencies_parsed_at":"2023-02-28T07:46:05.085Z","dependency_job_id":null,"html_url":"https://github.com/lucasGabrielDeAA/desafio-gonative2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lucasGabrielDeAA/desafio-gonative2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasGabrielDeAA%2Fdesafio-gonative2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasGabrielDeAA%2Fdesafio-gonative2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasGabrielDeAA%2Fdesafio-gonative2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasGabrielDeAA%2Fdesafio-gonative2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucasGabrielDeAA","download_url":"https://codeload.github.com/lucasGabrielDeAA/desafio-gonative2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasGabrielDeAA%2Fdesafio-gonative2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32377599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T09:24:15.638Z","status":"ssl_error","status_checked_at":"2026-04-28T09:24:15.071Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["react-native"],"created_at":"2024-10-27T17:58:28.606Z","updated_at":"2026-04-28T11:04:54.871Z","avatar_url":"https://github.com/lucasGabrielDeAA.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# desafio-gonative2\n\n## Installation\n\nOpen the package.json and add the following lines in the script's directive:\n\n```\n\"start\": \"react-native start\",\n\"android\": \"react-native run-android\",\n\"ios\": \"react-native run-ios\",\n\"test\": \"node node_modules/jest/bin/jest.js --watch\",\n\"lint\": \"eslint app/\",\n\"lint:fix\": \"eslint app/ --fix\",\n\"react-devtool\": \"react-devtools\"\n```\n\nAfter package.json adjustments you just need to execute the following command\n\n#### For Android\n\n```\nyarn run android\n```\n\n#### For IOS\n\n```\nyarn run ios\n```\n\n## Execution\n\nIf you already have the application installed on your emulator and, did not had installed native libraries on your application, you won't need to reinstall the application, using the commands listed ahead. For this situation, you just need to execute the command\n\n```\nyarn start\n```\n\n#### Running the packager with the cache cleaned\n\n```\nyarn start --reset-cache\n```\n\n## Creating the editor config directive\n\nIn the project's root create the file \".editorconfig\" with the following content\n\n```\nroot = true\n\n[*]\ncharset = utf-8\nident_style = space\nident_size = 2\nend_of_line = lf\ninsert_final_newline =  = true\ntrim_trailing_whitespace =  = true\n```\n## Installing the [eslint](https://github.com/eslint/eslint)\n\nFirst of all, install the esling globally in your OS, using the following command\n\n```\nyarn add global eslint\n```\n\nAfter eslint's installation run the following command\n\n```\nnpm info \"eslint-config-airbnb@latest\" peerDependencies\n```\n\nThen, copy the content returned by the command above and paste in the package.json, in the \"devDependencies\" directive. And install this dependencies using yarn\n\n```\nyarn install\n```\n\nNow, we need some more devDependencies in the project, use the command ahead to install\n\n```\nyarn add babel-eslint eslint-config-airbnb eslint-plugin-react-native --dev\n```\n\nThen, create a file named \".eslintrc\" in the root's project, and paste the content ahead\n\n```\n{\n  \"parser\": \"babel-eslint\",\n  \"env\": {\n    \"browser\": true,\n    \"jest\": true\n  },\n  \"plugins\": [\n    \"react-native\",\n    \"jsx-a11y\",\n    \"import\"\n  ],\n  \"extends\": [\n    \"airbnb\",\n    \"plugin:react-native/all\"\n  ],\n  \"rules\": {\n    \"react/jsx-filename-extension\": [\n      \"error\",\n      {\n        \"extensions\": [\n          \".js\",\n          \".jsx\"\n        ]\n      }\n    ],\n    \"global-require\": \"off\",\n    \"no-console\": \"off\",\n    \"import/prefer-default-export\": \"off\",\n    \"no-unused-vars\": [\n      \"error\",\n      {\n        \"argsIgnorePattern\": \"^_\"\n      }\n    ]\n  },\n  \"globals\": {\n    \"__DEV__\": true\n  }\n}\n```\nAt the end of this proccess, we need to install the eslint plugin in ours Editor, then close the editor and re-open to see the eslint working\n\n\n## Installing the [Babel Module Resolver](https://github.com/tleunen/babel-plugin-module-resolver)\n\nTo install the plugin, run the following command\n\n```\nyarn add babel-plugin-module-resolver eslint-import-resolver-babel-module --dev\n```\n\nAfter the installation, open the \".babelrc\" file in the root's project and paste the following content\n\n```\n{\n  \"presets\": [\"react-native\"],\n  \"plugins\": [\n    [\n      \"module-resolver\",\n      {\n        \"cwd\": \"babelrc\",\n        \"root\": [\"./src\"],\n        \"extensions\": [\".js\", \".ios.js\", \".android.js\"]\n      }\n    ]\n  ]\n}\n```\n\nAnd in the \".eslintrc\" file add the following content before \"globals\"\n\n```\n...\n\"settings\": {\n  \"import/resolver\": {\n    \"babel-module\": {}\n  }\n},\n...\"globals\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasgabrieldeaa%2Fdesafio-gonative2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasgabrieldeaa%2Fdesafio-gonative2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasgabrieldeaa%2Fdesafio-gonative2/lists"}