GitHub 8
Skip to content

Introduction to glosslint

Check your product vocabulary from one glossary file across code, source-locale messages, and Markdown docs.

glosslint checks your product vocabulary across code, source-locale messages, and Markdown docs from one file, .agents/glossary.md. It doesn't check translated messages: toX18nGlossary passes your terms, with any translations and forms, to x18n's glossary for translators, and glosslint explain also finds a term by its forms.

# Glossary

Presets: tech, inclusive

## Dock
What: A powered stand where one bike is locked.
Avoid:
- rack: Racks are unpowered.

## eBike

## Day Pass (DP)
Case: context
.agents/glossary.md

Four runners read it by default:

ESLint

JS, TS, Vue, and YAML locales

Oxlint

JS, TS, and Vue script blocks

x18n

Source messages and translator glossary export

CLI

Markdown docs, doctor, test, and explain
CodeWhat it reportsFix
GLOSSLINT_TERMWrong word splits or hyphens, such as e-bike for eBike, or split identifiersautofix, or rename on identifiers
GLOSSLINT_AVOIDAvoid words, such as rack instead of Docksuggestion with reason and meaning
GLOSSLINT_CASEWrong capitals on exact, context, or abbreviated termsautofix, or suggestion when kind is guessed

See Findings for the JSON shape. Examples in this guide come from examples/basic.