{"id":37114029,"url":"https://github.com/cyberagent/iotyper-lint","last_synced_at":"2026-01-14T13:26:00.121Z","repository":{"id":325025159,"uuid":"988155066","full_name":"CyberAgent/iotyper-lint","owner":"CyberAgent","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-27T03:15:34.000Z","size":48,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-11-29T06:30:13.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CyberAgent.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-22T06:17:39.000Z","updated_at":"2025-11-26T14:53:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/CyberAgent/iotyper-lint","commit_stats":null,"previous_names":["cyberagent/iotyper-lint"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CyberAgent/iotyper-lint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAgent%2Fiotyper-lint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAgent%2Fiotyper-lint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAgent%2Fiotyper-lint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAgent%2Fiotyper-lint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CyberAgent","download_url":"https://codeload.github.com/CyberAgent/iotyper-lint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAgent%2Fiotyper-lint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28421172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-14T13:25:59.572Z","updated_at":"2026-01-14T13:26:00.112Z","avatar_url":"https://github.com/CyberAgent.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iotyper\n\nA static analysis tool for Go that detects iota usage without explicit type specification.\n\n## Overview\n\n`iotyper` is a golangci-lint plugin that ensures `iota` constants have explicit types to improve code clarity and type safety.\n\n## Usage\n\n### What Gets Flagged\n\n`iotyper` reports when `iota` is used in const declarations without an explicit type:\n\n```go\n// ❌ Bad: will be flagged\nconst (\n    StatusPending = iota  // Error: iota used without type specification\n    StatusActive\n    StatusClosed\n)\n```\n\n### How to Fix\n\nAdd an explicit type to your iota declaration:\n\n```go\n// ✅ Good: type explicitly specified\nconst (\n    StatusPending int = iota\n    StatusActive\n    StatusClosed\n)\n```\n\n### Suppressing False Positives\n\nYou can suppress the linter using `//nolint` comments:\n\n```go\nconst (\n    Value1 = iota  //nolint:iotyper\n    Value2 = iota  //nolint:all\n)\n```\n\n## License\n\nSee [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberagent%2Fiotyper-lint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyberagent%2Fiotyper-lint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberagent%2Fiotyper-lint/lists"}