{"id":13771299,"url":"https://github.com/walle/lll","last_synced_at":"2026-01-27T02:13:12.535Z","repository":{"id":4314885,"uuid":"52720018","full_name":"walle/lll","owner":"walle","description":"Line length linter","archived":false,"fork":false,"pushed_at":"2022-06-04T12:14:44.000Z","size":35,"stargazers_count":65,"open_issues_count":7,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-11T03:36:25.748Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/walle.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}},"created_at":"2016-02-28T12:26:36.000Z","updated_at":"2024-10-18T19:23:09.000Z","dependencies_parsed_at":"2022-09-16T15:23:17.942Z","dependency_job_id":null,"html_url":"https://github.com/walle/lll","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/walle/lll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walle%2Flll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walle%2Flll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walle%2Flll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walle%2Flll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walle","download_url":"https://codeload.github.com/walle/lll/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walle%2Flll/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28796962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"online","status_checked_at":"2026-01-27T02:00:07.755Z","response_time":168,"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":"2024-08-03T17:00:49.995Z","updated_at":"2026-01-27T02:13:12.496Z","avatar_url":"https://github.com/walle.png","language":"Go","funding_links":[],"categories":["Programming Languages","Linters"],"sub_categories":["Style and Patterns Checking"],"readme":"[![Build Status](https://img.shields.io/travis/walle/lll.svg?style=flat)](https://travis-ci.org/walle/lll)\n[![Coverage](https://img.shields.io/codecov/c/github/walle/lll.svg?style=flat)](https://codecov.io/github/walle/lll)\n[![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/walle/lll)\n[![license](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://raw.githubusercontent.com/walle/lll/master/LICENSE)\n[![Go Report Card](https://goreportcard.com/badge/github.com/walle/lll)](http:/goreportcard.com/report/walle/lll)\n\n# lll\n\nLine length linter, used to enforce line length in files.\nSupport for only checking go files.\n\n## Installation\n\n```shell\n$ go get github.com/walle/lll/...\n```\n\n## Usage\n\n```shell\nusage: lll [--maxlength MAXLENGTH] [--tabwidth TABWIDTH] [--goonly] [--skiplist SKIPLIST] [--vendor] [--files] [--exclude EXCLUDE] [INPUT [INPUT ...]]\n\npositional arguments:\n  input\n\noptions:\n  --maxlength MAXLENGTH, -l MAXLENGTH\n                         max line length to check for [default: 80]\n  --tabwidth TABWIDTH, -w TABWIDTH\n                         tab width in spaces [default: 1]\n  --goonly, -g           only check .go files\n  --skiplist SKIPLIST, -s SKIPLIST\n                         list of dirs to skip [default: [.git vendor]]\n  --vendor               check files in vendor directory\n  --files                read file names from stdin one at each line\n  --exclude EXCLUDE, -e EXCLUDE\n                         exclude lines that matches this regex\n  --help, -h             display this help and exit\n```\n\nExample usage to check only go files for lines more than 100 characters.\nExcluding lines that contain the words TODO or FIXME.\n`lll -l 100 -g -e \"TODO|FIXME\" path/to/myproject`.\n\nYou can also define the flags using environment variables, eg. \n`MAXLENGTH=100 GOONLY=true lll path/to/my/project`.\n\n## Testing\n\nUse the `go test` tool.\n\n```shell\n$ go test -cover\n```\n\n## Contributing\n\nAll contributions are welcome! See [CONTRIBUTING](CONTRIBUTING.md) for more\ninfo.\n\n## License\n\nThe code is under the MIT license. See [LICENSE](LICENSE) for more\ninformation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalle%2Flll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalle%2Flll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalle%2Flll/lists"}