# zhlint-project/zhlint

A linting tool for Chinese language.

Repository: https://github.com/zhlint-project/zhlint
Canonical: https://ross.abutalabs.com/products/zhlint
Homepage: https://zhlint.jinjiang.dev/
Language: TypeScript
License: MIT
License Family: permissive
Topics: linter, chinese, translation, chinese-language, zhlint
Last push: 2026-06-21T04:55:50+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 88, release rhythm 8, longevity 100
- inputs: {"age_days": 2628, "days_push": 73, "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 1012, forks 27 (observed 2026-08-28T04:03:13.454550+00:00)

## What it is
zhlint is a linting tool for Chinese text content, available as a CLI, a Node.js package, and a standalone browser script. It validates and auto-fixes issues like missing spaces between Chinese and English text, with configurable rules via rc and ignore files.

## Use cases
- lint chinese text for typography errors
- add spaces between chinese and english automatically
- check translation quality of chinese docs
- fix punctuation in chinese markdown files
- enforce chinese text style rules in ci

## When to choose
- you write or translate Chinese technical documentation and want consistent typography
- you need automated fixing of Chinese/English spacing and punctuation
- you want a lint step for Chinese content in CI pipelines

## When to avoid
- you need general-purpose grammar or spell checking for Chinese
- you need linting for programming language code rather than prose
- you need support for other CJK languages like Japanese or Korean

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, formatter, cli, parser
- domain: developer-tools, documentation
- platform: cli, cross-platform, browser
- tags: chinese-language, text-linting, typography, translation-quality, markdown, natural-language-processing, command-line, localization, nodejs

## Member repositories
- zhlint-project/zhlint (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:13.454550+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-30T07:11:48.064159+00:00, confidence not recorded.
  - readme: https://github.com/zhlint-project/zhlint (fetched 2026-08-28T04:03:13.454550+00:00, sha ab8b4863a47c)
  - homepage: https://zhlint.jinjiang.dev/ (fetched 2026-08-29T13:11:41.994859+00:00, sha 97d30b7ddf9b)
  - registry_npm: https://registry.npmjs.org/zhlint (fetched 2026-08-29T13:11:42.004675+00:00, sha 38f832d8e82e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
