glosslint blanks code-like spans before matching so only user-facing words are checked. To ignore a real phrase, add it to Allow: in .agents/glossary.md or allow in defineCorpus.
Everywhere
Section titled "Everywhere"Blanked before matching in ESLint, Oxlint, x18n, and the CLI:
- Placeholders like
{name}and{{ count }}, vue-i18n@:keylinks, and ICU syntax. Words inside ICU branches are still checked. - URLs, email addresses, file paths, and text in backticks.
- Scoped packages like
@nuxt/kitand repo refs likenuxt/nuxt#18395. camelCase,snake_case, and slugs with three or more parts or touching/,#,@, or=.
Exact terms and abbreviations like eBike stay checked, and possessive 's never forms a word. Lowercase words next to a slash like nuxt/modules skip casing checks, while spelling and avoid checks still run.
In ESLint and Oxlint
Section titled "In ESLint and Oxlint"glosslint/term and glosslint/avoid skip strings that belong to code:
- Imports, exports, object or class keys without spaces, member names, literal types, comparisons,
switchcases, directives, enum names, and tagged templates. - The first argument of
t,$t,te,tm, and anything inignoreCallees. - Non-text Vue attributes such as
class,id,href,data-*, and id-holdingaria-*. - YAML and JSON keys. Only string values are checked.
- Spaceless strings shaped like code, including lowercase keys,
camelCase, paths, and dotted keys likealarm.activeAlarms. - Strings and templates whose every line reads as JS source, such as a module a template writes to disk.
glosslint/comment skips directives like eslint-disable and @ts-expect-error, and glosslint/identifier skips shorthand destructuring like const { daypass } = response. Strings whose escapes a fix would break, and YAML block scalars, still report findings without an autofix. See ESLint and Oxlint for rule options and ignoreCallees.
In Markdown and MDX
Section titled "In Markdown and MDX"The CLI skips:
- Frontmatter, fenced and inline code, HTML comments and tags, link targets, and reference definitions.
importandexportlines in.mdx.- Comark markup like
::note,#titleslots, YAML props blocks, and styling props. Text inside components, slots, and text props liketitleorlabelis still checked. node_modules,.git, and the glossary file loaded directly.
To skip one line, such as a heading you keep for its anchor, put <!-- glosslint-ignore --> on the line above it, or at the end of the line itself. A reason can follow: <!-- glosslint-ignore: keeps the #pre-rendering anchor -->.
<!-- glosslint-ignore: keeps the #pre-rendering anchor -->
## Pre-rendering