{"id":32136950,"url":"https://github.com/ibdecodable/iblinter","last_synced_at":"2025-10-21T04:53:15.967Z","repository":{"id":27545770,"uuid":"113841451","full_name":"IBDecodable/IBLinter","owner":"IBDecodable","description":"A linter tool for Interface Builder","archived":false,"fork":false,"pushed_at":"2022-10-05T01:05:38.000Z","size":16486,"stargazers_count":946,"open_issues_count":14,"forks_count":42,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-10-14T21:48:02.798Z","etag":null,"topics":["ib","linter","storyboard"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/IBDecodable.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-11T09:52:40.000Z","updated_at":"2025-09-14T13:44:41.000Z","dependencies_parsed_at":"2022-07-08T05:59:10.873Z","dependency_job_id":null,"html_url":"https://github.com/IBDecodable/IBLinter","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/IBDecodable/IBLinter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBDecodable%2FIBLinter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBDecodable%2FIBLinter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBDecodable%2FIBLinter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBDecodable%2FIBLinter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IBDecodable","download_url":"https://codeload.github.com/IBDecodable/IBLinter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBDecodable%2FIBLinter/sbom","scorecard":{"id":64299,"data":{"date":"2025-08-11","repo":{"name":"github.com/IBDecodable/IBLinter","commit":"aa34f5b758d2f95fae17b77e10668697cd3f5e19"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Code-Review","score":5,"reason":"Found 12/22 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/artifact.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/artifact.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/IBDecodable/IBLinter/artifact.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/artifact.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/IBDecodable/IBLinter/artifact.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/IBDecodable/IBLinter/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/IBDecodable/IBLinter/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/IBDecodable/IBLinter/test.yml/master?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.5.0 not signed: https://api.github.com/repos/IBDecodable/IBLinter/releases/58829668","Warn: release artifact 0.4.27 not signed: https://api.github.com/repos/IBDecodable/IBLinter/releases/43526581","Warn: release artifact 0.4.26 not signed: https://api.github.com/repos/IBDecodable/IBLinter/releases/39999715","Warn: release artifact 0.4.25 not signed: https://api.github.com/repos/IBDecodable/IBLinter/releases/31842021","Warn: release artifact 0.4.24 not signed: https://api.github.com/repos/IBDecodable/IBLinter/releases/28567783","Warn: release artifact 0.5.0 does not have provenance: https://api.github.com/repos/IBDecodable/IBLinter/releases/58829668","Warn: release artifact 0.4.27 does not have provenance: https://api.github.com/repos/IBDecodable/IBLinter/releases/43526581","Warn: release artifact 0.4.26 does not have provenance: https://api.github.com/repos/IBDecodable/IBLinter/releases/39999715","Warn: release artifact 0.4.25 does not have provenance: https://api.github.com/repos/IBDecodable/IBLinter/releases/31842021","Warn: release artifact 0.4.24 does not have provenance: https://api.github.com/repos/IBDecodable/IBLinter/releases/28567783"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T02:17:34.219Z","repository_id":27545770,"created_at":"2025-08-15T02:17:34.219Z","updated_at":"2025-08-15T02:17:34.219Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280207194,"owners_count":26290616,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"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":["ib","linter","storyboard"],"created_at":"2025-10-21T04:53:14.263Z","updated_at":"2025-10-21T04:53:15.947Z","avatar_url":"https://github.com/IBDecodable.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IBLinter\n[![Build Status](https://travis-ci.org/IBDecodable/IBLinter.svg?branch=master)](https://travis-ci.org/IBDecodable/IBLinter)\n[![Swift 5.0](https://img.shields.io/badge/Swift-5.0-orange.svg?style=flat)](https://developer.apple.com/swift/)\n\n\nA linter tool to normalize `.xib` and `.storyboard` files. Inspired by [realm/SwiftLint](https://github.com/realm/SwiftLint)\n\n![](assets/warning.png)\n\n## Installation\n\n### Using [Homebrew](http://brew.sh/)\n\n```sh\n$ brew install iblinter\n```\n\n### Using [Mint](https://github.com/yonaskolb/Mint)\n\n```sh\n$ mint install IBDecodable/IBLinter\n```\n\n### Using [CocoaPods](https://cocoapods.org)\n\n```sh\npod 'IBLinter'\n```\n\nThis will download the IBLinter binaries and dependencies in `Pods/` during your next\n`pod install` execution and will allow you to invoke it via `${PODS_ROOT}/IBLinter/bin/iblinter`\nin your Script Build Phases.\n\n### Compiling from source\n\nYou can build from source by cloning this repository and running\n```\n$ make install\n```\n`iblinter` will be installed in `/usr/local/bin`.\n\n## Usage\n\nYou can see all description by `iblinter --help`\n\n```\n$ iblinter --help\nUSAGE: iblinter \u003csubcommand\u003e\n\nOPTIONS:\n  --version               Show the version.\n  -h, --help              Show help information.\n\nSUBCOMMANDS:\n  lint (default)          Print lint warnings and errors\n\n  See 'iblinter help \u003csubcommand\u003e' for detailed help.\n```\n\n### Xcode\n\nAdd a `Run Script Phase` to integrate IBLinter with Xcode\n\n```sh\nif which iblinter \u003e/dev/null; then\n  iblinter lint\nelse\n  echo \"warning: IBLinter not installed, download from https://github.com/IBDecodable/IBLinter\"\nfi\n```\n\nAlternatively, if you've installed IBLinter via CocoaPods the script should look like this:\n\n```sh\n\"${PODS_ROOT}/IBLinter/bin/iblinter\"\n```\n\n## Requirements\n\nIBLinter requires Swift5.0 runtime. Please satisfy at least one of following requirements.\n\n - macOS 10.14.4 or later\n - Install `Swift 5 Runtime Support for Command Line Tools` from [More Downloads for Apple Developers](https://developer.apple.com/download/more/)\n\n## Rules\n\nAll rules are documented in [Rules.md](Rules.md)\n\nPull requests are encouraged.\n\n\n## Configuration\n\nYou can configure IBLinter by adding a `.iblinter.yml` file from project root directory.\n\n\n| key                  | description                 |\n|:---------------------|:--------------------------- |\n| `enabled_rules`      | Enabled rules id.           |\n| `disabled_rules`     | Disabled rules id.          |\n| `excluded`           | Path to ignore for lint.    |\n| `included`           | Path to include for lint.   |\n| `custom_module_rule` | Custom module rule configs. |\n| `use_base_class_rule`| Use base class rule configs.|\n| `view_as_device_rule`| View as device rule configs.|\n\n### CustomModuleConfig\n\nYou can configure `custom_module` rule by `CustomModuleConfig` list.\n\n| key        | description                                                                  |\n|:-----------|:---------------------------------------------------------------------------- |\n| `module`   | Module name.                                                                 |\n| `included` | Path to `*.swift` classes of the module for `custom_module` lint.            |\n| `excluded` | Path to ignore for `*.swift` classes of the module for `custom_module` lint. |\n\n### UseBaseClassConfig\n\nYou can configure `use_base_class` rule by `UseBaseClassConfig` list.\n\n| key               | description                        |\n|:------------------|:---------------------------------- |\n| `element_class`   | Element class name.                |\n| `base_classes`    | Base classes of the element class. |\n\n**Note:** UseBaseClassRule does not work for classes that inherit base class. You need to add all classes to `base_classes` to check.\n\n### ViewAsDeviceConfig\n\nYou can configure `view_as_device` rule by `ViewAsDeviceConfig`. If there are no config, `device_id` is set as `retina4_7`.  \n\n| key               | description                        |\n|:------------------|:---------------------------------- |\n| `device_id`       | Device id for device.              |\n\n**appx.** Table of mapping device name to `device_id` (on `Xcode 10.2`) \n\n| device name       | device id            |\n|:------------------|:-------------------- |\n| `iPhone 4s`       | `retina3_5`          |\n| `iPhone SE`       | `retina4_0`          |\n| `iPhone 8`        | `retina4_7`          |\n| `iPhone 8 Plus`   | `retina5_5`          |\n| `iPhone XS`       | `retina5_9`          |\n| `iPhone XR`       | `retina6_1`          |\n| `iPhone XS Max`   | `retina6_5`          |\n\n### UseTraitCollectionsConfig\n\nYou can configure `use_trait_collections` rule by `UseTraitCollectionsConfig`. If there is no config then use_trait_collections is set to true\n\n|    key   | description |\n|:---------------:|:---------------:|\n|   enabled  |  `true` |\n\n### HidesBottomBarConfig\n\nYou can configure `hides_bottom_bar` rule by `HidesBottomBarConfig` list.\n\n|    key   | description |\n|:---------------:|:---------------:|\n|   `excluded_view_controllers`  |  Controller's class name to ignore `hides_bottom_bar` rule. |\n\n```yaml\nenabled_rules:\n  - relative_to_margin\n  - use_trait_collections\n  - hides_bottom_bar\n  - has_single_view_controller\n  - has_initial_view_controller\ndisabled_rules:\n  - custom_class_name\nexcluded:\n  - Carthage\n  - App\nincluded:\n  - App/Views\ncustom_module_rule:\n  - module: UIComponents\n    included:\n      - UIComponents/Classes\n    excluded:\n      - UIComponents/Classes/Config/Generated\nuse_base_class_rule:\n  - element_class: UILabel\n    base_classes:\n      - PrimaryLabel\n      - SecondaryLabel\nview_as_device_rule:\n  device_id: retina4_0\nuse_trait_collections_rule:\n  enabled: false\nhides_bottom_bar_rule:\n  excluded_view_controllers:\n    - FirstViewController\n    - SecondViewController\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibdecodable%2Fiblinter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibdecodable%2Fiblinter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibdecodable%2Fiblinter/lists"}