{"id":15388880,"url":"https://github.com/tiagoporto/limitlines","last_synced_at":"2025-06-13T03:40:14.751Z","repository":{"id":143886101,"uuid":"124900499","full_name":"tiagoporto/limitlines","owner":"tiagoporto","description":"Lint and report number of lines by file.","archived":false,"fork":false,"pushed_at":"2025-06-06T18:14:47.000Z","size":883,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-06T19:18:38.626Z","etag":null,"topics":["check-lines","cli","file-lines","javascript","lint","linter","node","reporting-tool","static-code-analysis"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/limitlines","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/tiagoporto.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"tiagoporto","custom":["https://encr.pw/paypal-donation","https://encr.pw/bitcoin-wallet"]}},"created_at":"2018-03-12T14:20:05.000Z","updated_at":"2025-06-06T18:14:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"96612fe5-c843-4d90-92b8-2e5558806b24","html_url":"https://github.com/tiagoporto/limitlines","commit_stats":{"total_commits":61,"total_committers":2,"mean_commits":30.5,"dds":"0.14754098360655743","last_synced_commit":"cccd48a54dcf1be6500619664017755d23988cb6"},"previous_names":["tiagoporto/limitlines"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagoporto%2Flimitlines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagoporto%2Flimitlines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagoporto%2Flimitlines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagoporto%2Flimitlines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiagoporto","download_url":"https://codeload.github.com/tiagoporto/limitlines/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagoporto%2Flimitlines/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258459092,"owners_count":22704479,"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","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":["check-lines","cli","file-lines","javascript","lint","linter","node","reporting-tool","static-code-analysis"],"created_at":"2024-10-01T14:58:30.435Z","updated_at":"2025-06-13T03:40:14.731Z","avatar_url":"https://github.com/tiagoporto.png","language":"JavaScript","funding_links":["https://github.com/sponsors/tiagoporto","https://encr.pw/paypal-donation","https://encr.pw/bitcoin-wallet"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./docs/logo.svg\" alt=\"limit lines\" width=\"600\"\u003e\n\u003cp\u003e\n\n[![Release](https://img.shields.io/npm/v/limitlines.svg?style=flat-square\u0026label=release)](https://github.com/tiagoporto/limitlines/releases)\n[![Node](https://img.shields.io/node/v/limitlines.svg?style=flat-square)](https://www.npmjs.com/package/limitlines)\n[![Downloads](https://img.shields.io/npm/d18m/limitlines.svg?style=flat-square)](https://www.npmjs.com/package/limitlines)\n\n\u003c!-- [![Coverage Status](https://img.shields.io/coveralls/tiagoporto/limitlines.svg?style=flat-square)](https://coveralls.io/github/tiagoporto/limitlines) --\u003e\n\u003c!-- [![Mutation testing cover](https://badge.stryker-mutator.io/github.com/tiagoporto/limitlines/main)](https://stryker-mutator.github.io) --\u003e\n\n\u003e Lint and report number of lines by file.\n\n![Screenshot](./docs/Screenshot.png)\n\n## Installation\n\n```bash\nnpm install limitlines\n```\n\n## Execute\n\n```bash\nlimitlines [source] [options]\n```\n\n### Source\n\nGlobby paths to scan.\n\n`string`, separate by comma.\n\nDefault: `.`\n\nAccept [globby](https://github.com/sindresorhus/globby).\n\n```bash\nlimitlines 'folder1/**/*, folder2/*.{html,js}'\n```\n\n## Options\n\n### Ignore\n\nPaths to ignore.\n\n`string`, separate by comma.\n\nDefault: `node_modules`\n\n```bash\nlimitlines --ignore 'somefolder'\n```\n\n### Max Lines\n\nMaximum lines by file.\n\n`integer`\n\nDefault: `300`\n\n```bash\nlimitlines --maxlines 450\n```\n\n### Min Lines\n\nMinimun accepted lines by file.\n\n`integer`\n\nDefault: 1\n\n```bash\nlimitlines --minlines 1\n```\n\n### Max Errors\n\nMaximum errors accept.\n\n`integer`\n\nDefault: `0`\n\n```bash\nlimitlines --maxerrors 3\n```\n\n### Version\n\nOutput version number.\n\nAlias `-v`.\n\n```bash\nlimitlines --version\n```\n\n## License\n\nThis project is licensed under the [MIT license](https://github.com/tiagoporto/limitlines/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagoporto%2Flimitlines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiagoporto%2Flimitlines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagoporto%2Flimitlines/lists"}