# Coming from case-police

glosslint builds its `tech` preset from [case-police](https://github.com/antfu/case-police) 2.2.1 (MIT License, see [`NOTICE`](https://github.com/loadsheet/glosslint/blob/main/NOTICE)) so you can keep the same casing rules alongside your own glossary.

## Coverage and parity

[`scripts/tech.ts`](https://github.com/loadsheet/glosslint/blob/main/scripts/tech.ts) reads all 5 case-police dictionaries (488 entries: 309 `softwares`, 118 `abbreviates`, 30 `brands`, 18 `general`, 13 `products`) and outputs 477 keys plus 7 allowed joined spellings, each with `case: "exact"` and `skip: ["lower", "upper"]`.

[`test/tech-parity.test.ts`](https://github.com/loadsheet/glosslint/blob/main/test/tech-parity.test.ts) tests all 488 entries in 4 forms (Capitalised, lower, UPPER, canonical: 1,952 cases). 1,945 match case-police verbatim. The 7 differences are joined spellings placed in `allow` alongside their spaced terms (`Antdesign` stays as written, while `Ant design` still becomes `Ant Design`):

| Term in `tech` | Joined spelling in `allow` |
| --- | --- |
| `Ant Design` | `AntDesign` |
| `Ant Design Vue` | `AntDesignVue` |
| `Composition API` | `CompositionAPI` |
| `Graph RAG` | `GraphRAG` |
| `Naive UI` | `NaiveUI` |
| `Tailwind CSS` | `TailwindCSS` |
| `Windi CSS` | `WindiCSS` |

## What glosslint adds

- Your own product terms and [built-in presets](https://glosslint.loadsheet.dev/guide/presets) in [`.agents/glossary.md`](https://glosslint.loadsheet.dev/guide/glossary).
- Avoid words with reasons, descriptions, and links printed on every finding.
- [Context casing](https://glosslint.loadsheet.dev/guide/casing) that adapts between labels, headers, and sentences.
- Checks across [ESLint](https://glosslint.loadsheet.dev/integrations/eslint), [Oxlint](https://glosslint.loadsheet.dev/integrations/oxlint), [x18n](https://glosslint.loadsheet.dev/integrations/x18n), and [the CLI](https://glosslint.loadsheet.dev/integrations/cli).

## Moving over

```sh pm
pnpm add -D glosslint
```

```md [.agents/glossary.md]
# Glossary

Presets: tech
```

```sh
npx glosslint check  # report findings in Markdown and text files (read-only)
```

For code autofixes, add `...glosslint()` in [ESLint](https://glosslint.loadsheet.dev/integrations/eslint) (`eslint --fix`) or `"glosslint/oxlint"` in [Oxlint](https://glosslint.loadsheet.dev/integrations/oxlint) (`oxlint --fix`).

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

- [Introduction](https://glosslint.loadsheet.dev/raw/guide.md)
- [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) (this page)
- [Coding agents](https://glosslint.loadsheet.dev/raw/guide/agents.md)
- [Reference](https://glosslint.loadsheet.dev/raw/guide/findings.md)

Next: [Coding agents](https://glosslint.loadsheet.dev/raw/guide/agents.md)

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