# Introduction to glosslint

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

```md [.agents/glossary.md]
# 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
```

Four runners read it by default:

::card-group
:::card{title="ESLint" icon="i-simple-icons-eslint" to="/integrations/eslint"}
JS, TS, Vue, and YAML locales
:::

:::card{title="Oxlint" icon="i-simple-icons-oxc" to="/integrations/oxlint"}
JS, TS, and Vue script blocks
:::

:::card{title="x18n" icon="i-lucide-languages" to="/integrations/x18n"}
Source messages and translator glossary export
:::

:::card{title="CLI" icon="i-lucide-terminal" to="/integrations/cli"}
Markdown docs, doctor, test, and explain
:::
::

## Three finding codes

| Code | What it reports | Fix |
| --- | --- | --- |
| `GLOSSLINT_TERM` | Wrong word splits or hyphens, such as `e-bike` for `eBike`, or split identifiers | `autofix`, or `rename` on identifiers |
| `GLOSSLINT_AVOID` | Avoid words, such as `rack` instead of `Dock` | `suggestion` with reason and meaning |
| `GLOSSLINT_CASE` | Wrong capitals on `exact`, `context`, or abbreviated terms | `autofix`, or `suggestion` when kind is guessed |

See [Findings](https://glosslint.loadsheet.dev/guide/findings) for the JSON shape. Examples in this guide come from [`examples/basic`](https://github.com/loadsheet/glosslint/blob/main/examples/basic).

<!-- vitehub-docs:section-links -->
## In this section

- [Introduction](https://glosslint.loadsheet.dev/raw/guide.md) (this page)
- [Installation](https://glosslint.loadsheet.dev/raw/guide/installation.md)
- [glossary.md](https://glosslint.loadsheet.dev/raw/guide/glossary.md)
- [defineCorpus](https://glosslint.loadsheet.dev/raw/guide/corpus.md)
- [Casing rules](https://glosslint.loadsheet.dev/raw/guide/casing.md)
- [What glosslint doesn't check](https://glosslint.loadsheet.dev/raw/guide/ignored-text.md)
- [Built-in presets](https://glosslint.loadsheet.dev/raw/guide/presets.md)
- [Coming from case-police](https://glosslint.loadsheet.dev/raw/guide/case-police.md)
- [Coding agents](https://glosslint.loadsheet.dev/raw/guide/agents.md)
- [Reference](https://glosslint.loadsheet.dev/raw/guide/findings.md)

Next: [Installation](https://glosslint.loadsheet.dev/raw/guide/installation.md)

All pages: [llms.txt](https://glosslint.loadsheet.dev/llms.txt)
