# jshint/jshint

JSHint is a tool that helps to detect errors and potential problems in your JavaScript code

Repository: https://github.com/jshint/jshint
Canonical: https://ross.abutalabs.com/products/jshint
Homepage: http://jshint.com
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2025-02-13T17:18:03+00:00

## Health v2 (maintenance only)
Score: 26/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 6, release rhythm 8, longevity 100
- inputs: {"age_days": 5705, "days_push": 566, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9073, forks 1621 (observed 2026-08-28T04:10:28.240449+00:00)

## What it is
JSHint is a community-driven static code analysis tool that detects errors and potential problems in JavaScript code. It is distributed as an npm package usable both as a command-line tool and as a JavaScript library, with configurable linting options via .jshintrc files.

## Use cases
- lint javascript code for errors
- detect typos and language gotchas in js
- find leaking variables and implicit type conversions
- check code quality in ci pipeline
- enforce coding standards across a javascript project

## When to choose
- you want a flexible, configurable JavaScript linter with per-project config
- you need a CLI or library-based static analysis for legacy or ES3-ES6 codebases
- you prefer a community-driven alternative to JSLint

## When to avoid
- you need modern ECMAScript support and an active ecosystem - ESLint is the standard choice
- you need type-aware analysis - use TypeScript or flow instead
- you need formatting or auto-fixing capabilities

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: linter, developer-tools, cli
- domain: developer-tools, web-development
- platform: cli, cross-platform
- tags: static-analysis, code-quality, javascript-linter, linting, javascript, nodejs

## Member repositories
- jshint/jshint (main) score 26

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:28.240449+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:24:01.273172+00:00, confidence not recorded.
  - readme: https://github.com/jshint/jshint (fetched 2026-08-28T04:10:28.240449+00:00, sha 308b2b2736c2)
  - homepage: http://jshint.com (fetched 2026-08-29T08:24:13.750673+00:00, sha 687ccc168fdd)
  - site_page: https://jshint.com/about (fetched 2026-08-29T08:24:13.759590+00:00, sha f138fd805186)
  - site_page: https://jshint.com/docs (fetched 2026-08-29T08:24:13.761925+00:00, sha b5b58c9b1cbb)
  - site_page: https://jshint.com/install (fetched 2026-08-29T08:24:13.763739+00:00, sha f2b37c01bb41)
  - registry_npm: https://registry.npmjs.org/jshint (fetched 2026-08-29T08:24:13.765415+00:00, sha a0775c881bc0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
