{"id":13406420,"url":"https://github.com/webhintio/hint","last_synced_at":"2025-05-13T17:05:21.427Z","repository":{"id":37484253,"uuid":"82211360","full_name":"webhintio/hint","owner":"webhintio","description":"💡 A hinting engine for the web","archived":false,"fork":false,"pushed_at":"2024-11-01T04:03:16.000Z","size":74562,"stargazers_count":3650,"open_issues_count":473,"forks_count":729,"subscribers_count":75,"default_branch":"main","last_synced_at":"2025-05-06T16:11:29.415Z","etag":null,"topics":["a11y","best-practices","hacktoberfest","hint","hints","interoperability","lint","performance","pwa","pwas","security","security-scanner","webhint"],"latest_commit_sha":null,"homepage":"https://webhint.io/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webhintio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-16T18:15:31.000Z","updated_at":"2025-05-01T13:13:10.000Z","dependencies_parsed_at":"2023-02-09T15:31:38.466Z","dependency_job_id":"d4887ee6-c883-4e45-a3af-579d7c84884a","html_url":"https://github.com/webhintio/hint","commit_stats":{"total_commits":6346,"total_committers":126,"mean_commits":50.36507936507937,"dds":0.6645130791049481,"last_synced_commit":"76264f7733c74f3f0a9d94652fe1cd6a60ea9be9"},"previous_names":["sonarwhal/sonarwhal"],"tags_count":689,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webhintio%2Fhint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webhintio%2Fhint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webhintio%2Fhint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webhintio%2Fhint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webhintio","download_url":"https://codeload.github.com/webhintio/hint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253016949,"owners_count":21840879,"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":["a11y","best-practices","hacktoberfest","hint","hints","interoperability","lint","performance","pwa","pwas","security","security-scanner","webhint"],"created_at":"2024-07-30T19:02:29.833Z","updated_at":"2025-05-13T17:05:21.399Z","avatar_url":"https://github.com/webhintio.png","language":"TypeScript","readme":"# webhint\n\n[![Build Status](https://dev.azure.com/webhint/webhint/_apis/build/status/webhintio.hint?branchName=main)](https://dev.azure.com/webhint/webhint/_build/latest?definitionId=3\u0026branchName=main)\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/webhintio/Lobby)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fwebhintio%2Fhint.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fwebhintio%2Fhint?ref=badge_shield)\n\n## Quick start user guide\n\nwebhint is a customizable linting tool that helps you improve your site's\naccessibility, speed, cross-browser compatibility, and more by checking your\ncode for best practices and common errors.\n\nIt can be run from the command line (CLI), via a [browser extension][], and as\na [VS Code extension][].\n\nTo use it from the CLI you will need to install [`Node.js`][node]\n(v14.x or later) on your machine, and you can use [`npx`][npx] to test it.\n\n### Testing with `npx`\n\nRun the following command:\n\n```bash\nnpx hint https://example.com\n```\n\nThis will analyze `https://example.com` using the default configuration.\n\n### Installing `webhint` locally\n\nInstall webhint as a `devDependency` of your project:\n\n```bash\nnpm install hint --save-dev\n```\n\nAnd then add a script task to your `package.json`:\n\n```json\n{\n    ...\n    \"scripts\": {\n        \"webhint\": \"hint\"\n    }\n}\n```\n\nAnd run it via:\n\n```bash\nnpm run webhint -- http://localhost:8080\n```\n\nOr if you are using `yarn` you can skip the step to create a task and\nrun directly:\n\n```bash\nyarn hint http://localhost:8080\n```\n\nTo know more about webhint, how to configure it, etc. see the online\n[user guide][user guide], or the [local version][local user guide]\nfor the most recent content.\n\n## Contributing to webhint\n\nThis project follows a monorepo pattern. That means that the code\nfor all the webhint flavors (CLI, browser and VS Code extension,\nhints, formatters, etc.) are in here and are published as separate\nnpm packages.\n\nTo build the project from the source you will need to install\na recent version of node and [yarn][]. Once you've done this run\nthe following from the root of your cloned version:\n\n```bash\nyarn\nyarn build\n```\n\nThis can take a bit so please be patient.\n\nTo learn more about the internals of `webhint`, the structure of the\nproject, how to create new hints, parsers, formatters, etc, take\na look at the online [contributor guide][contributor guide] (or the\n[local version][local contributor guide]).\n\n### Contributing to the browser and VS Code extensions\n\nTo learn about how to build one of the extensions please check\nthe `CONTRIBUTING.md` files for each of these packages:\n\n* [`packages/extension-browser/CONTRIBUTING.md`][contrib browser]\n  for the browser extension.\n* [`packages/extension-vscode/CONTRIBUTING.md`][contrib vscode]\n  for the VS Code extension.\n\n## Code of Conduct\n\nAll projects in the `webhintio` organization follow this [CoC][coc]\nwhich adheres to the [OpenJS Foundation Code of Conduct][ojs coc].\n\n## Other important links\n\n* [Charter][]\n* [Governance][]\n\n## License\n\nThe code is available under the [Apache 2.0 license][license].\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fwebhintio%2Fhint.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fwebhintio%2Fhint?ref=badge_large)\n\n\u003c!-- Link labels: --\u003e\n\n[browser extension]: https://webhint.io/docs/user-guide/extensions/extension-browser/\n[charter]: ./packages/hint/docs/about/PROJECT_CHARTER.md\n[coc]: https://github.com/webhintio/.github/blob/main/CODE_OF_CONDUCT\n[contrib browser]: ./packages/extension-browser/CONTRIBUTING.md\n[contrib vscode]: ./packages/extension-vscode/CONTRIBUTING.md\n[contributor guide]: https://webhint.io/docs/contributor-guide/\n[Governance]: ./packages/hint/docs/about/GOVERNANCE.md\n[license]: LICENSE.txt\n[local contributor guide]: ./packages/hint/docs/contributor-guide/index.md\n[local user guide]: ./packages/hint/docs/user-guide/index.md\n[node]: https://nodejs.org/en/download/current/\n[npx]: https://github.com/zkat/npx\n[ojs coc]: https://code-of-conduct.openjsf.org/\n[user guide]: https://webhint.io/docs/user-guide/\n[VS Code extension]: https://webhint.io/docs/user-guide/extensions/vscode-webhint/\n[yarn]: http://yarnpkg.com/\n","funding_links":[],"categories":["TypeScript","📦 Legacy \u0026 Inactive Projects","best-practices","hacktoberfest","\u003ca id=\"1d9dec1320a5d774dc8e0e7604edfcd3\"\u003e\u003c/a\u003e工具-新添加的"],"sub_categories":["\u003ca id=\"8f1b9c5c2737493524809684b934d49a\"\u003e\u003c/a\u003e文章\u0026\u0026视频"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebhintio%2Fhint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebhintio%2Fhint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebhintio%2Fhint/lists"}