{"id":24455608,"url":"https://github.com/putoutjs/quick-lint","last_synced_at":"2025-09-24T17:08:04.451Z","repository":{"id":236839227,"uuid":"793182482","full_name":"putoutjs/quick-lint","owner":"putoutjs","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-03T11:54:06.000Z","size":248,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-24T12:22:33.560Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/putoutjs.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":".github/FUNDING.yml","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":"coderaiser","patreon":"coderaiser","open_collective":"cloudcmd","ko_fi":"coderaiser"}},"created_at":"2024-04-28T16:55:29.000Z","updated_at":"2025-06-03T11:54:07.000Z","dependencies_parsed_at":"2024-05-01T18:30:01.623Z","dependency_job_id":"1c96f3b8-c5e6-48ea-bc6e-6b157c4fe4e6","html_url":"https://github.com/putoutjs/quick-lint","commit_stats":{"total_commits":36,"total_committers":3,"mean_commits":12.0,"dds":"0.13888888888888884","last_synced_commit":"d0aedb71d726f24f90bb43b7d967cd40648c23b6"},"previous_names":["putoutjs/quick-lint"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/putoutjs/quick-lint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putoutjs%2Fquick-lint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putoutjs%2Fquick-lint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putoutjs%2Fquick-lint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putoutjs%2Fquick-lint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/putoutjs","download_url":"https://codeload.github.com/putoutjs/quick-lint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putoutjs%2Fquick-lint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276787059,"owners_count":25704727,"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-09-24T02:00:09.776Z","response_time":97,"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-01-21T02:13:57.925Z","updated_at":"2025-09-24T17:08:04.432Z","avatar_url":"https://github.com/putoutjs.png","language":"JavaScript","funding_links":["https://github.com/sponsors/coderaiser","https://patreon.com/coderaiser","https://opencollective.com/cloudcmd","https://ko-fi.com/coderaiser"],"categories":[],"sub_categories":[],"readme":"# Quick Lint [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/quick-lint.svg?style=flat\n[BuildStatusURL]: https://github.com/putoutjs/quick-lint/actions?query=workflow%3A%22Node+CI%22 \"Build Status\"\n[BuildStatusIMGURL]: https://github.com/putoutjs/quick-lint/workflows/Node%20CI/badge.svg\n[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat\n[NPMURL]: https://npmjs.org/package/@putout/quick-lint \"npm\"\n[LicenseURL]: https://tldrlegal.com/license/mit-license \"MIT License\"\n[CoverageURL]: https://coveralls.io/github/putoutjs/quick-lint?branch=master\n[CoverageIMGURL]: https://coveralls.io/repos/putoutjs/quick-lint/badge.svg?branch=master\u0026service=github\n\n[quick-lint-js](https://quick-lint-js.com/) as library.\n\n## Install\n\n`npm i @putout/quick-lint --save`\n\n## API\n\n### quickLint(source: string, options: Options)\n\n```ts\ninterface Options {\n    isJSX: boolean;\n    isTS: boolean;\n    startLine: number;\n}\n```\n\n```js\nconst quickLint = require('@putout/quick-lint');\nconst option = `\n    function x() {\n        await m();\n    }\n`;\n\nquickLint(source, {\n    isJSX: true,\n    isTS: false,\n    startLine: 0, // default\n});\n\n// returns\n[{\n    rule: 'parser (quick-lint-js)',\n    message: '\\'await\\' is only allowed in async functions',\n    position: {\n        line: 2,\n        column: 8,\n    },\n}, {\n    rule: 'parser (quick-lint-js)',\n    message: 'use of undeclared variable: m',\n    position: {\n        line: 2,\n        column: 14,\n    },\n}];\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fputoutjs%2Fquick-lint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fputoutjs%2Fquick-lint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fputoutjs%2Fquick-lint/lists"}