alex
Catch insensitive, inconsiderate writing in text.
TLDR
Check a file for insensitive language
SYNOPSIS
alex [options] [files...]
DESCRIPTION
alex catches insensitive, inconsiderate writing in text. It helps you find gender-favoring, polarizing, race-related, religion-inconsiderate, or other unequal phrasing in text.
The tool is designed for documentation, README files, and other written content, helping teams maintain inclusive language in their projects.
PARAMETERS
--stdin
Read from standard input--text
Treat input as plain text (not markdown)--html
Treat input as HTML--config file
Configuration file path--reporter type
Output format: json, compact, or default--quiet
Only report errors--why
Show detailed explanations-v, --version
Display version
CONFIGURATION
.alexrc
JSON or YAML configuration file in the project root. Defines allowed terms, custom rules, and language preferences..alexignore
Lists files and directories to exclude from checking, using gitignore-style patterns.
CAVEATS
May produce false positives; review suggestions in context. Technical terms or proper nouns may be flagged incorrectly. Configuration allows allowlisting specific terms.
HISTORY
alex was created by Titus Wormer and released in 2015 as part of the unified.js ecosystem. It was designed to bring automated checking for inclusive language to the development workflow.
SEE ALSO
write-good(1), proselint(1), vale(1)
