{"id":13684127,"url":"https://github.com/flix-tech/danger-code_style_validation","last_synced_at":"2025-04-10T22:42:45.229Z","repository":{"id":18913173,"uuid":"85560556","full_name":"flix-tech/danger-code_style_validation","owner":"flix-tech","description":"Danger plugin for code style validation based on clang-format","archived":false,"fork":false,"pushed_at":"2023-01-09T22:24:17.000Z","size":145,"stargazers_count":21,"open_issues_count":9,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-24T19:39:39.302Z","etag":null,"topics":["clang-format","danger","danger-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/flix-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-20T09:53:59.000Z","updated_at":"2023-01-10T12:26:43.000Z","dependencies_parsed_at":"2023-01-11T20:00:16.227Z","dependency_job_id":null,"html_url":"https://github.com/flix-tech/danger-code_style_validation","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fdanger-code_style_validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fdanger-code_style_validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fdanger-code_style_validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flix-tech%2Fdanger-code_style_validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flix-tech","download_url":"https://codeload.github.com/flix-tech/danger-code_style_validation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312208,"owners_count":21082638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["clang-format","danger","danger-plugin"],"created_at":"2024-08-02T14:00:26.679Z","updated_at":"2025-04-10T22:42:45.212Z","avatar_url":"https://github.com/flix-tech.png","language":"Ruby","readme":"# danger-code_style_validation\n\n[![Build Status](https://travis-ci.org/flix-tech/danger-code_style_validation.svg?branch=master)](https://travis-ci.org/flix-tech/danger-code_style_validation)\n\nThis plugin uses 'clang-format' to look for code style violations in added\nlines on the current MR / PR, and offers inline patches.\nBy default only Objective-C files, with extensions `.h`, `.m`, and `.mm` are\nchecked.\n\n![Example](/doc/images/example.png)\n\n## Installation\n\nAdd the following string to your Gemfile:\n\n```ruby\ngem 'danger-code_style_validation', :git =\u003e 'https://github.com/flix-tech/danger-code_style_validation.git'\n```\n\n## Usage\n\nInside your `Dangerfile` :\n\n```ruby\ncode_style_validation.check\n```\n\nTo check files with extensions other than the default ones:\n\n```ruby\ncode_style_validation.check file_extensions: ['.hpp', '.cpp']\n```\n\nTo ignore specific paths, use `ignore_file_patterns` :\n\n```ruby\ncode_style_validation.check ignore_file_patterns: [/^Pods\\//]\n```\n\n## Development\n\n1. Clone this repo\n2. Run `bundle install` to setup dependencies.\n3. Run `bundle exec rake spec` to run the tests.\n4. Use `bundle exec guard` to automatically have tests run as you make changes.\n5. Make your changes.\n","funding_links":[],"categories":["Plugins"],"sub_categories":["Ruby (danger)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflix-tech%2Fdanger-code_style_validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflix-tech%2Fdanger-code_style_validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflix-tech%2Fdanger-code_style_validation/lists"}