{"id":15534817,"url":"https://github.com/kennethlarsen/lannister","last_synced_at":"2025-10-25T09:35:11.668Z","repository":{"id":149222824,"uuid":"114113047","full_name":"kennethlarsen/lannister","owner":"kennethlarsen","description":"💸 A Lannister always pays his technical debt","archived":false,"fork":false,"pushed_at":"2018-06-16T09:35:42.000Z","size":473,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T20:29:09.013Z","etag":null,"topics":["automated-analysis","static-analysis","static-code-analysis","technical-debt"],"latest_commit_sha":null,"homepage":"https://kennethlarsen.github.io/lannister","language":"JavaScript","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/kennethlarsen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2017-12-13T11:33:14.000Z","updated_at":"2020-02-10T22:36:34.000Z","dependencies_parsed_at":"2023-06-11T00:15:43.290Z","dependency_job_id":null,"html_url":"https://github.com/kennethlarsen/lannister","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/kennethlarsen/lannister","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethlarsen%2Flannister","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethlarsen%2Flannister/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethlarsen%2Flannister/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethlarsen%2Flannister/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kennethlarsen","download_url":"https://codeload.github.com/kennethlarsen/lannister/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kennethlarsen%2Flannister/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280936404,"owners_count":26416542,"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-25T02:00:06.499Z","response_time":81,"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":["automated-analysis","static-analysis","static-code-analysis","technical-debt"],"created_at":"2024-10-02T11:43:38.325Z","updated_at":"2025-10-25T09:35:11.657Z","avatar_url":"https://github.com/kennethlarsen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lannister\n[![Build Status](https://travis-ci.org/kennethlarsen/lannister.svg?branch=master)](https://travis-ci.org/kennethlarsen/lannister)\n[![Coverage Status](https://coveralls.io/repos/github/kennethlarsen/lannister/badge.svg?branch=master)](https://coveralls.io/github/kennethlarsen/lannister?branch=master)\n\n\nA Lannister always pays his technical debt\n\n![Keep calm and alwyas pay your debts](https://boomerandecho.com/wp-content/uploads/2014/04/Keep-Calm.jpg)\n\nThis is still in the early stages. Basically, I like the idea of auto generating a list of potential technical debt in a code base. \n\n## Install\n`npm install -g lannister`\n\n## Usage\n\n`lannister src/` runs the the technical debt check on dir src/ and returns a report.md at current path.\n\nIf you want to change the path of the report.md you can use the output flag (`-o`) to change this.\n\n`lannister src/ -o reports/`\n\nDo this before your sprint planning sessions and remember to pay your technical debt in every sprint. If not, the Iron Bank will kill you.\n \n## Current rules\n* too-many-args: more than 4 args in a function\n* too-long/file-too-long: file length more than 250 lines\n* todo-comment: TODO comment found in code\n* console-call: found statements like console.log()\n* line-length: code line that is more than 100 characters long\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethlarsen%2Flannister","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkennethlarsen%2Flannister","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkennethlarsen%2Flannister/lists"}