{"id":15544249,"url":"https://github.com/mhdez221993/rubocop","last_synced_at":"2026-04-06T06:02:42.119Z","repository":{"id":51319777,"uuid":"365172659","full_name":"Mhdez221993/rubocop","owner":"Mhdez221993","description":"The whole idea of this project is to build my own version on a linter build in ruby to check ruby code","archived":false,"fork":false,"pushed_at":"2025-01-23T20:29:22.000Z","size":44,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"development","last_synced_at":"2026-01-01T01:14:31.523Z","etag":null,"topics":["linters","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/Mhdez221993.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}},"created_at":"2021-05-07T08:52:41.000Z","updated_at":"2025-01-23T20:29:25.000Z","dependencies_parsed_at":"2022-08-24T11:11:14.056Z","dependency_job_id":null,"html_url":"https://github.com/Mhdez221993/rubocop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mhdez221993/rubocop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mhdez221993%2Frubocop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mhdez221993%2Frubocop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mhdez221993%2Frubocop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mhdez221993%2Frubocop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mhdez221993","download_url":"https://codeload.github.com/Mhdez221993/rubocop/tar.gz/refs/heads/development","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mhdez221993%2Frubocop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31461534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["linters","ruby"],"created_at":"2024-10-02T12:29:52.327Z","updated_at":"2026-04-06T06:02:42.093Z","avatar_url":"https://github.com/Mhdez221993.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rubocop\n\nThis project was built in ruby to check ruby code, it is a linters for beginners, it provides feedback about errors or warning in code little by little.\nIt was developed following the best practices\n\nIn this project we are looking for the following errors:\n\n- Wrong indentation\n- Trailing spaces\n- New line errors\n- Empty files\n- Last empty line\n\n![linter1](https://user-images.githubusercontent.com/67757001/165179584-371a4314-504f-46f2-baa4-60171ede1667.jpeg)\n\n\n## Built With\n\n- Ruby\n\n### Prerequisites\n\n- Installed Ruby\n\nTo get a local copy up and running follow these simple example steps.\n\nGo to  git clone git@github.com:Mhdez221993/my_lin.git\n\n### Install RSpec\n\nTo run the tests locally :\n\n- To instal RSpec for testing please run the following command on your terminal:\n\n   `gem install rspec`\n\n### Run tests\n\nTo test the code, run  `rspec`  from the root of the folder using the terminal.\n\n## Instructions\n\n1) `git clone git@github.com:Mhdez221993/rubocop.git`\n\n2) `bundle`\n\n3) You can provide a path to test a specific file in the same directory or outside by typing. If no path is given, this project will be checked for errors:\n    - `./bin/main.rb some_path.rb`\n    - `./bin/main.rb`\n\n## Good and bad code examples\n\n### Wrong indentation\n\n~~~ruby\n//Good Code\n\ndef call_check_last_line\n  check_last_line unless File.zero?(file)\nend\n\n//Bad Code\n\ndef call_check_last_line\ncheck_last_line unless File.zero?(file)\nend\n~~~\n\n### Trailing spaces\n\n~~~ruby\n//Good Code\n\ndef call_check_last_line\n  check_last_line unless File.zero?(file)\nend\n\n//Bad Code\n\ndef call_check_last_line\n  check_last_line unless File.zero?(file)\nend\n~~~\n\n### New line errors\n\n~~~ruby\n//Good Code\n\ndef call_check_last_line\n  check_last_line unless File.zero?(file)\nend\n\ndef call_check_last_line\n  check_last_line unless File.zero?(file)\nend\n\n//Bad Code\n\ndef call_check_last_line\n  check_last_line unless File.zero?(file)\nend\ndef call_check_last_line\n  check_last_line unless File.zero?(file)\nend\n~~~\n\n### Last empty line\n\n~~~ruby\n//Good Code\n\ndef call_check_last_line\n  check_last_line unless File.zero?(file)\nend\n\ndef call_check_last_line\n  check_last_line unless File.zero?(file)\nend\n\n\n//Bad Code\n\ndef call_check_last_line\n  check_last_line unless File.zero?(file)\nend\n\ndef call_check_last_line\n  check_last_line unless File.zero?(file)\nend\n~~~\n\n## Authors\n\n👤 **Moises Hernandez Coronado**\n\n- GitHub: [@Mhdez221993](https://github.com/Mhdez221993)\n- Twitter: [@MoisesH42060050](https://twitter.com/MoisesH42060050)\n- LinkedIn: [Moises Hernandez Coronado](https://www.linkedin.com/in/moises-hernandez-9bbb17145/)\n\n## Contributing\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/Mhdez221993/my_lin/issues).\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## Acknowledgments\n\n- To my coding partner who helped me through all the work\n- To my Stand Up Team who kept my morale up!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhdez221993%2Frubocop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhdez221993%2Frubocop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhdez221993%2Frubocop/lists"}