{"id":13741829,"url":"https://github.com/ckaznocha/protoc-gen-lint","last_synced_at":"2025-05-15T20:02:21.264Z","repository":{"id":36135977,"uuid":"40439673","full_name":"ckaznocha/protoc-gen-lint","owner":"ckaznocha","description":"A plug-in for Google's Protocol Buffers (protobufs) compiler to lint .proto files for style violations.","archived":false,"fork":false,"pushed_at":"2024-12-23T22:35:00.000Z","size":1114,"stargazers_count":285,"open_issues_count":4,"forks_count":15,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-08T01:38:04.658Z","etag":null,"topics":["google-protocol-buffers","lint","linter","plugin","protobuf","protocol-buffers","static-analysis","style-linter"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ckaznocha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-09T14:50:51.000Z","updated_at":"2025-03-02T21:18:21.000Z","dependencies_parsed_at":"2023-12-23T01:55:37.707Z","dependency_job_id":"18980bf6-b27a-46ac-bc67-e7cd89a4e66a","html_url":"https://github.com/ckaznocha/protoc-gen-lint","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckaznocha%2Fprotoc-gen-lint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckaznocha%2Fprotoc-gen-lint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckaznocha%2Fprotoc-gen-lint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckaznocha%2Fprotoc-gen-lint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ckaznocha","download_url":"https://codeload.github.com/ckaznocha/protoc-gen-lint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254414477,"owners_count":22067270,"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":["google-protocol-buffers","lint","linter","plugin","protobuf","protocol-buffers","static-analysis","style-linter"],"created_at":"2024-08-03T04:01:03.080Z","updated_at":"2025-05-15T20:02:20.201Z","avatar_url":"https://github.com/ckaznocha.png","language":"Go","funding_links":[],"categories":["Protocol Buffers","Go"],"sub_categories":["Tools"],"readme":"\n# protoc-gen-lint\n[![Build Status](https://github.com/ckaznocha/protoc-gen-lint/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/ckaznocha/protoc-gen-lint/actions/workflows/ci.yml)\n[![Release](http://img.shields.io/github/release/ckaznocha/protoc-gen-lint.svg?style=flat)](https://github.com/ckaznocha/protoc-gen-lint/releases/latest)\n[![License](http://img.shields.io/:license-mit-blue.svg)](http://ckaznocha.mit-license.org)\n[![CodeQL](https://github.com/ckaznocha/protoc-gen-lint/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/ckaznocha/protoc-gen-lint/actions/workflows/codeql-analysis.yml)\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/ckaznocha/protoc-gen-lint/badge)](https://api.securityscorecards.dev/projects/github.com/ckaznocha/protoc-gen-lint)\n\u003c!-- [![Coverage Status](https://img.shields.io/coveralls/ckaznocha/protoc-gen-lint.svg?style=flat)](https://coveralls.io/r/ckaznocha/protoc-gen-lint?branch=master) --\u003e\n\nA plug-in for Google's [Protocol Buffers](https://github.com/google/protobuf)\ncompiler to check `.proto` files for style violations.\n\n## About\nThis plug-in will check a `.proto` file for violations of Google's Protocol\nBuffer [Style Guide](https://developers.google.com/protocol-buffers/docs/style).\nThe protobuf compiler already reports on compilation errors; by using\nthis plug-in you are also able to retrieve those compilation error without\nwriting any file which is be helpful for use cases like IDE integrations.\n\n## Installation\nDownload `protoc-gen-lint` and make sure it's available in your PATH. Once it's\nin your PATH, `protoc` will be able to make use of the plug-in.\n\n### Dependencies\nYou must have a working version of Google's Protocol Buffers compiler `protoc`\nin your PATH. You can download it\n[here](https://developers.google.com/protocol-buffers/docs/downloads)\n\n### Using go get\nIf you have a go environment already set up you can use `go get` to install.\n```\ngo get github.com/ckaznocha/protoc-gen-lint\n```\n\n### Downloading binary\nDownload the latest release for your operating system\n[here](https://github.com/ckaznocha/protoc-gen-lint/releases/latest) and ensure\nthe executable is available in your PATH.\n\n## Usage\n```\nprotoc --lint_out=. *.proto\n```\n### Optional Checks\nOptional checks are enabled but passing a comma separated list to the protoc\n\"parameter\". Example:\n```\nprotoc --lint_out=sort_imports:. *.proto\n```\n\nAvailable optional checks:\n*   `sort_imports` - checks that imports are sorted in descending alphabetical\norder.\n\n## TODO\n*   Write more tests\n*   Find out about any common protocol buffer smells to check for from the community\n\n## Contributing\nSee the `CONTRIBUTING` file.\n\n## License\nSee `LICENSE` file\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckaznocha%2Fprotoc-gen-lint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fckaznocha%2Fprotoc-gen-lint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckaznocha%2Fprotoc-gen-lint/lists"}