{"id":15569724,"url":"https://github.com/aignas/rules_shellcheck","last_synced_at":"2025-03-12T13:24:33.646Z","repository":{"id":39631575,"uuid":"303090069","full_name":"aignas/rules_shellcheck","owner":"aignas","description":"Run shellcheck as part of your bazel tests.","archived":false,"fork":false,"pushed_at":"2024-03-11T08:15:32.000Z","size":69,"stargazers_count":22,"open_issues_count":5,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-19T06:44:27.785Z","etag":null,"topics":["bazel","bazel-rules","shellcheck"],"latest_commit_sha":null,"homepage":"","language":"Starlark","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/aignas.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-10-11T09:58:21.000Z","updated_at":"2024-10-10T08:25:08.000Z","dependencies_parsed_at":"2024-01-09T05:23:06.819Z","dependency_job_id":"d25a4f61-5d2c-42fb-9645-f8d9a8397480","html_url":"https://github.com/aignas/rules_shellcheck","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aignas%2Frules_shellcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aignas%2Frules_shellcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aignas%2Frules_shellcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aignas%2Frules_shellcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aignas","download_url":"https://codeload.github.com/aignas/rules_shellcheck/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243224135,"owners_count":20256643,"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":["bazel","bazel-rules","shellcheck"],"created_at":"2024-10-02T17:38:34.060Z","updated_at":"2025-03-12T13:24:33.610Z","avatar_url":"https://github.com/aignas.png","language":"Starlark","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shellcheck rules for bazel\n\nNow you do not need to depend on the system `shellcheck` version in your bazel-managed (mono)repos.\n\n[![Build Status](https://github.com/aignas/rules_shellcheck/workflows/CI/badge.svg)](https://github.com/aignas/rules_shellcheck/actions)\n\nChoose your release from the [GH Releases](https://github.com/aignas/rules_shellcheck/releases) and follow setup instructions there.\n\nThen `shellcheck` can be accessed by running:\n\n```shell\nbazel run @rules_shellcheck//:shellcheck -- \u003cparameters\u003e\n```\n\nAnd you can define a lint target:\n\n```starlark\nload(\"@rules_shellcheck//:def.bzl\", \"shellcheck\", \"shellcheck_test\")\n\nshellcheck_test(\n    name = \"shellcheck_test\",\n    data = glob([\"*.sh\"]),\n    tags = [\"lint\"],\n    format = \"gcc\",\n    severity = \"warning\",\n)\n```\n\nNote: this is a simple project that allows me to learn about various bazel concepts. Feel free to create PRs contributing to the project or consider using [rules_lint].\n\n[rules_lint]: https://github.com/aspect-build/rules_lint\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faignas%2Frules_shellcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faignas%2Frules_shellcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faignas%2Frules_shellcheck/lists"}