{"id":28455078,"url":"https://github.com/brunogama/ios-pre-commit-hooks","last_synced_at":"2026-06-20T05:02:07.990Z","repository":{"id":270518827,"uuid":"910621701","full_name":"brunogama/ios-pre-commit-hooks","owner":"brunogama","description":"pre-commit-hooks tailored for ios development. All linting and code fornatting follows Apple's Open Source projects code styling,","archived":false,"fork":false,"pushed_at":"2025-05-10T03:19:57.000Z","size":179,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-30T19:36:16.989Z","etag":null,"topics":["ios","pre-commit","pre-commit-hooks","swift"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brunogama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-12-31T21:06:36.000Z","updated_at":"2025-05-10T03:20:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2d3d344-1258-496b-86b8-8bf39f131ba9","html_url":"https://github.com/brunogama/ios-pre-commit-hooks","commit_stats":null,"previous_names":["brunogama/pre-commit-configs","brunogama/ios-pre-commit-hooks"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/brunogama/ios-pre-commit-hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunogama%2Fios-pre-commit-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunogama%2Fios-pre-commit-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunogama%2Fios-pre-commit-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunogama%2Fios-pre-commit-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brunogama","download_url":"https://codeload.github.com/brunogama/ios-pre-commit-hooks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunogama%2Fios-pre-commit-hooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34557553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"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":["ios","pre-commit","pre-commit-hooks","swift"],"created_at":"2025-06-06T21:15:05.052Z","updated_at":"2026-06-20T05:02:07.957Z","avatar_url":"https://github.com/brunogama.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pre-Commit Configurations for iOS Development\n\n**Why**? Developers function is to code and shouldn't care about formatting. So why not apply styling and linting in a pre-commit-hook?\n\nThis repository provides pre-commit hooks designed specifically for iOS development. These hooks help automate code quality checks and enforce coding standards, ensuring a smoother development experience.\n\n## Features\n\n- Automates code quality checks.\n- Ensures adherence to coding standards.\n- Identifies and resolves common issues before committing changes.\n- The formatting and linting where based on Apple's open source projects\n\n## Requirements\n\nTo use this project, you need to have the [pre-commit framework](https://pre-commit.com/) installed. Below are instructions for installing it using either [Homebrew](https://brew.sh/) or [Pyenv](https://github.com/pyenv/pyenv).\n\n### Installing `pre-commit`\n\n#### Using Homebrew\n\n1. Open your terminal.\n\n1. Run the following command to install `pre-commit`:\n\n   ```bash\n   brew install pre-commit\n   ```\n\n1. Confirm the installation:\n\n   ```bash\n   pre-commit --version\n   ```\n\n#### Using Pyenv\n\n1. Make sure you have Python installed via Pyenv. If not, follow the [Pyenv installation guide](https://github.com/pyenv/pyenv#installation).\n\n1. Install a Python version using Pyenv:\n\n   ```bash\n   pyenv install \u003cversion\u003e # Replace \u003cversion\u003e with the desired Python version, e.g., 3.9.9\n   pyenv global \u003cversion\u003e  # Set the installed version as the global default\n   ```\n\n1. Ensure `pip` is available:\n\n   ```bash\n   pyenv exec python -m ensurepip --upgrade\n   ```\n\n1. Use `pip` to install `pre-commit`:\n\n   ```bash\n   pip install pre-commit\n   ```\n\n1. Confirm the installation:\n\n   ```bash\n   pre-commit --version\n   ```\n\n## Installation\n\nOnce the `pre-commit` framework is installed, set up the hooks by following these steps:\n\n1. Open your terminal.\n\n1. Run the following command:\n\n   ```bash\n   curl -sSL https://raw.githubusercontent.com/brunogama/ios-pre-commit-hooks/main/install | bash\n   ```\n\n1. This command will:\n\n   - Download the necessary files.\n   - Execute the `install-hooks` script to set up your pre-commit environment.\n\n## Contributing\n\nContributions are welcome! If you encounter issues or have suggestions for improvement, feel free to open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n______________________________________________________________________\n\nLet me know if you'd like further refinements!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunogama%2Fios-pre-commit-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunogama%2Fios-pre-commit-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunogama%2Fios-pre-commit-hooks/lists"}