LinuxCommandLibrary

tldr-lint

Validate TLDR page formatting

TLDR

Lint file

$ tldr-lint [page.md]
copy
Lint directory
$ tldr-lint [pages/]
copy
Verbose output
$ tldr-lint -v [page.md]
copy
Format output
$ tldr-lint -f [json] [page.md]
copy
Ignore rules
$ tldr-lint -I [TLDR001] [page.md]
copy

SYNOPSIS

tldr-lint [-v] [-f format] [-I rules] files

DESCRIPTION

tldr-lint validates TLDR pages against the project's formatting guidelines, checking for structural correctness, proper markdown syntax, and style compliance. Each rule is identified by a code (e.g., TLDR001) and can be selectively ignored with the -I flag.
The tool can lint individual files or scan entire directories for batch validation, making it suitable for CI pipelines that enforce consistent page formatting across the tldr-pages repository. Output formats include plain text and JSON for integration with other tools.

PARAMETERS

-v

Verbose output.
-f FORMAT
Output format.
-I RULES
Ignore rules.
--version
Show version.
--help
Show help.

CAVEATS

TLDR format specific. Node.js required. For tldr contributors.

HISTORY

tldr-lint was created for the tldr-pages project to validate page formatting consistency.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community