{"id":27643331,"url":"https://github.com/matrixorigin/linter","last_synced_at":"2025-10-13T07:33:31.951Z","repository":{"id":40453902,"uuid":"479630852","full_name":"matrixorigin/linter","owner":"matrixorigin","description":"Go linters developed by MatrixOrigin","archived":false,"fork":false,"pushed_at":"2025-05-20T05:57:36.000Z","size":63,"stargazers_count":2,"open_issues_count":0,"forks_count":12,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-06-03T00:16:05.109Z","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/matrixorigin.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,"zenodo":null}},"created_at":"2022-04-09T05:43:45.000Z","updated_at":"2025-05-20T05:57:40.000Z","dependencies_parsed_at":"2023-12-21T06:26:15.133Z","dependency_job_id":"a2e72f69-2f18-4670-a117-844d758aaf08","html_url":"https://github.com/matrixorigin/linter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matrixorigin/linter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrixorigin%2Flinter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrixorigin%2Flinter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrixorigin%2Flinter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrixorigin%2Flinter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matrixorigin","download_url":"https://codeload.github.com/matrixorigin/linter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrixorigin%2Flinter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014107,"owners_count":26085463,"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-13T02:00:06.723Z","response_time":61,"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":[],"created_at":"2025-04-24T00:12:58.587Z","updated_at":"2025-10-13T07:33:31.909Z","avatar_url":"https://github.com/matrixorigin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MatrixOrigin Linter\n\nThis repo contains custom linters developed by MatrixOrigin.\n\n## Installation\n\n```\ngo install github.com/matrixorigin/linter/cmd/molint@latest\n```\n\n## Usage\n\n```\ncd matrixone\ngo vet -vettool=$(which molint) ./...\n```\n\n## Linters\n\n### checkrecover\n\nAs required by our [error handling rules](https://github.com/matrixorigin/matrixone/blob/main/pkg/common/moerr/error_handling.md),\n\"You should not recover any panics unless it is at a few well defined places\".\nThis linter helps to enforce that. \n\nIt will fail when checking the frontend folder as recover() calls there are not currently marked as approved. \n\n### pkgblocklist\n\nBlock unwanted packages from importing.\n\n### checklog\n\nCheck the usage of `log` package and `fmt.Print*` api to ensure it is only used by pre-approved methods and functions and unittest.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrixorigin%2Flinter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrixorigin%2Flinter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrixorigin%2Flinter/lists"}