{"id":36508866,"url":"https://github.com/gnoverse/tlin","last_synced_at":"2026-02-12T10:36:37.412Z","repository":{"id":248816345,"uuid":"828822221","full_name":"gnoverse/tlin","owner":"gnoverse","description":"Advanced Linter for Gno","archived":false,"fork":false,"pushed_at":"2026-01-12T19:40:53.000Z","size":578,"stargazers_count":14,"open_issues_count":22,"forks_count":3,"subscribers_count":12,"default_branch":"main","last_synced_at":"2026-01-15T06:12:31.497Z","etag":null,"topics":["cli","clippy-like","gno","hacktoberfest","human-readable","lint","static-analysis"],"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/gnoverse.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":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":"2024-07-15T07:43:18.000Z","updated_at":"2025-12-23T01:17:20.000Z","dependencies_parsed_at":"2024-08-30T10:57:31.986Z","dependency_job_id":"00db47f8-8f1c-4ddd-99d9-1f0cf6a54191","html_url":"https://github.com/gnoverse/tlin","commit_stats":null,"previous_names":["gnoswap-labs/tlin","gnoswap-labs/lint","gnolang/tlin","gnoverse/tlin"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/gnoverse/tlin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnoverse%2Ftlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnoverse%2Ftlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnoverse%2Ftlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnoverse%2Ftlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnoverse","download_url":"https://codeload.github.com/gnoverse/tlin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnoverse%2Ftlin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29363218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: 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":["cli","clippy-like","gno","hacktoberfest","human-readable","lint","static-analysis"],"created_at":"2026-01-12T02:33:14.209Z","updated_at":"2026-02-12T10:36:37.406Z","avatar_url":"https://github.com/gnoverse.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tlin: Lint for gno\n\nAdvance Linter for go-like grammar languages.\n\n[![CodeQL](https://github.com/gnoverse/tlin/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/gnoverse/tlin/actions)\n[![Release](https://img.shields.io/github/v/release/gnoverse/tlin)](https://github.com/gnoverse/tlin/releases)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/gnoverse/tlin/blob/main/LICENSE)\n\n## Introduction\n\ntlin is an linter designed for both [Go](https://go.dev/) and [gno](https://gno.land/) programming languages. It leverages the functionality of [golangci-lint](https://github.com/golangci/golangci-lint) as its main linting engine, providing powerful code analysis for go-like grammar languages.\n\nInspired by Rust's [clippy](https://github.com/rust-lang/rust-clippy), tlin aims to provide additional code improvement suggestions beyond the default golangci-lint rules.\n\n## Features\n\n- Support for Go (.go) and Gno (.gno) files\n- Ability to add custom lint rules\n- Additional code improvement suggestion, such as detecting unnecessary code\n- Auto-fixing for some lint rules\n- Cyclomatic complexity analysis\n\n## Installation\n\nTo install tlin CLI, follow these steps:\n\n```bash\ngit clone https://github.com/gnolang/tlin\ncd tlin\ngo install ./cmd/tlin\n```\n\n## Usage\n\n```bash\ntlin \u003cpath\u003e\n```\n\nReplace `\u003cpath\u003e` with the file or directory path you want to analyze.\n\nTo check the current directory, run:\n\n```bash\ntlin .\n```\n\n## Configuration\n\ntlin supports a configuration file (`.tlin.yaml`) to customize its behavior. You can generate a default configuration file by running:\n\n```bash\ntlin -init\n```\n\nThis command will create a `.tlin.yaml` file in the current directory with the following content:\n\n```yaml\n# .tlin.yaml\nname: tlin\nrules:\n```\n\nYou can customize the configuration file to enable or disable specific lint rules, set cyclomatic complexity thresholds, and more.\n\n```yaml\n# .tlin.yaml\nname: tlin\nrules:\n  useless-break:\n    severity: WARNING\n  deprecated-function:\n    severity: OFF\n```\n\n## Available Flags\n\ntlin supports several flags to customize its behavior:\n\n- `-timeout \u003cduration\u003e`: Set a timeout for the linter (default: 5m). Example: `-timeout 1m30s`\n- `-cyclo`: Run cyclomatic complexity analysis\n- `-threshold \u003cint\u003e`: Set cyclomatic complexity threshold (default: 10)\n- `-ignore \u003crules\u003e`: Comma-separated list of lint rules to ignore\n- `-ignore-paths \u003cpaths\u003e`: Comma-separated list of paths to ignore\n- `-cfg`: Run control flow graph analysis\n- `-func \u003cname\u003e`: Specify function name for CFG analysis\n- `-fix`: Automatically fix issues\n- `-dry-run`: Run in dry-run mode (show fixes without applying them)\n- `-confidence \u003cfloat\u003e`: Set confidence threshold for auto-fixing (0.0 to 1.0, default: 0.75)\n- `-o \u003cpath\u003e`: Write output to a file instead of stdout\n- `-json-output`: Output results in JSON format\n- `-init`: Initialize a new tlin configuration file in the current directory\n- `-c \u003cpath\u003e`: Specify a custom configuration file\n\n## Contributing\n\nFor detailed contribution guidelines, please refer to [CONTRIBUTING.md](CONTRIBUTING.md). We welcome all forms of contributions, including bug reports, feature requests, and pull requests.\n\n## Credits\n\n- [@GodDrinkTeJAVA](https://github.com/GodDrinkTeJAVA) - Project name (`tlin`) suggestion\n\n## License\n\nThis project is distributed under the MIT License. See `LICENSE` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnoverse%2Ftlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnoverse%2Ftlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnoverse%2Ftlin/lists"}