{"id":13878625,"url":"https://github.com/github/erblint-github","last_synced_at":"2025-04-04T11:16:16.269Z","repository":{"id":37051129,"uuid":"419022203","full_name":"github/erblint-github","owner":"github","description":"Template style checking for GitHub's Ruby projects","archived":false,"fork":false,"pushed_at":"2025-03-24T04:03:18.000Z","size":517,"stargazers_count":54,"open_issues_count":7,"forks_count":7,"subscribers_count":157,"default_branch":"main","last_synced_at":"2025-03-28T10:11:16.631Z","etag":null,"topics":["accessibility","lint","ruby"],"latest_commit_sha":null,"homepage":"","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/github.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-19T17:16:18.000Z","updated_at":"2025-03-24T04:03:20.000Z","dependencies_parsed_at":"2024-01-13T20:35:24.140Z","dependency_job_id":"c1296921-b8ed-4e06-b184-513d28fdc909","html_url":"https://github.com/github/erblint-github","commit_stats":{"total_commits":212,"total_committers":9,"mean_commits":"23.555555555555557","dds":0.5849056603773585,"last_synced_commit":"6d68ffca42914d4918a97f2bcd62f3041f50c926"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Ferblint-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Ferblint-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Ferblint-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Ferblint-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/erblint-github/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247166169,"owners_count":20894654,"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":["accessibility","lint","ruby"],"created_at":"2024-08-06T08:01:55.099Z","updated_at":"2025-04-04T11:16:16.254Z","avatar_url":"https://github.com/github.png","language":"Ruby","readme":"# erblint-github\n\nTemplate style checking for GitHub's Ruby projects\n\n## Setup\n\n1. Update your `Gemfile` and run `bundle install`\n\n``` ruby\ngem \"erb_lint\", require: false\ngem \"erblint-github\"\n```\n\n2. Require the lint rules from this library. Currently, the only supported way is to add a new file in `.erb-linters/erblint-github.rb` with the line:\n\n```ruby\nrequire \"erblint-github/linters\"\n```\n\n3. Update your `erb-lint.yml` to pull in our recommended configs. This will ensure you are up-to-date with our recommendations.\n\n```yaml\n---\ninherit_gem:\n  erblint-github:\n    - config/accessibility.yml\n```\n\n## Rules\n\n- [GitHub::Accessibility::AriaLabelIsWellFormatted](./docs/rules/accessibility/aria-label-is-well-formatted.md)\n- [GitHub::Accessibility::AvoidBothDisabledAndAriaDisabled](./docs/rules/accessibility/avoid-both-disabled-and-aria-disabled.md)\n- [GitHub::Accessibility::AvoidGenericLinkText](./docs/rules/accessibility/avoid-generic-link-text.md)\n- [GitHub::Accessibility::DisabledAttribute](./docs/rules/accessibility/disabled-attribute.md)\n- [GitHub::Accessibility::NavigationHasLabel](./docs/rules/accessibility/navigation-has-label.md)\n- [GitHub::Accessibility::LinkHasHref](./docs/rules/accessibility/link-has-href.md)\n- [GitHub::Accessibility::NestedInteractiveElements](./docs/rules/accessibility/nested-interactive-elements.md)\n- [GitHub::Accessibility::IframeHasTitle](./docs/rules/accessibility/iframe-has-title.md)\n- [GitHub::Accessibility::ImageHasAlt](./docs/rules/accessibility/image-has-alt.md)\n- [GitHub::Accessibility::NoAriaHiddenOnFocusable](./docs/rules/accessibility/no-aria-hidden-on-focusable.md)\n- [GitHub::Accessibility::NoAriaLabelMisuse](./docs/rules/accessibility/no-aria-label-misuse.md)\n- [GitHub::Accessibility::NoPositiveTabIndex](./docs/rules/accessibility/no-positive-tab-index.md)\n- [GitHub::Accessibility::NoRedundantImageAlt](./docs/rules/accessibility/no-redundant-image-alt.md)\n- [GitHub::Accessibility::NoVisuallyHiddenInteractiveElements](./docs/rules/accessibility/no-visually-hidden-interactive-elements.md)\n- [GitHub::Accessibility::NoTitleAttribute](./docs/rules/accessibility/no-title-attribute.md)\n- [GitHub::Accessibility::SvgHasAccessibleText](./docs/rules/accessibility/svg-has-accessible-text.md)\n\n## Testing\n\n```sh\nbundle install\nbundle exec rake\n```\n\n## Recommended extension\n\nIf you use VS Code, we highly encourage [ERB Linter extension](https://marketplace.visualstudio.com/items?itemName=manuelpuyol.erb-linter) to see immediate feedback in your editor.\n\n## Note\n\nThis repo contains several accessibility-related linting rules to help surface accessibility issues that would otherwise go undetected until a later stage. Please note that due to the limitations of static code analysis,\nthese ERB accessibility checks are NOT enough for ensuring the accessibility of your app. This shouldn't be the only tool you use to catch accessibility issues and should be supplemented with other tools that can check the runtime browser DOM output, as well as processes like accessibility design reviews, manual audits, user testing, etc.\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Ferblint-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Ferblint-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Ferblint-github/lists"}