DOTENV-LINTER(1)
π DOTENV-LINTER β the manual page, but make it cute
okay bestie, welcome to the dotenv-linter(1) page, aka the user commands corner of the docs, and honestly? you're gonna eat this up π
β¨ NAME β¨
dotenv-linter β a lightning-fast linter for .env files. yes that's the whole vibe, she's fast, she's focused, she's iconic π
πΈ SYNOPSIS πΈ
dotenv-linter [OPTIONS] [COMMAND] [PATHS...]
that's it. that's the incantation. [OPTIONS], then an optional [COMMAND], then however many [PATHS...] you feel like throwing at her π«Ά
π¦ DESCRIPTION π¦
so like. dotenv-linter can check, fix, and diff your .env files for problems that may cause applications to malfunction π β like, the kind of stuff that has you staring at your terminal at 2am going "why is it broken".
she's written in Rust, and she is designed to be literally lightning-fast β‘ no cap.
π COMMANDS π
checkβ checks the.envfiles in the specified paths for problems. β¨ this is the default action, so if you don't pick a command, this is the one that shows up. main character energy, honestly.fixβ automatically fixes the found warnings π οΈ. she backs up your original files before modification, because she's thoughtful like that πdiffβ compares two.envfiles with each other and outputs the difference between them π
π CHECKS PERFORMED π
the linter runs a whole little gauntlet of checks, and here's every single one of them, no skipping:
- Duplicated key
- Ending blank line
- Extra blank line
- Incorrect delimiter
- Key without value
- Leading character
- Lowercase key
- Quote character
- Schema violation
- Space character
- Substitution key
- Trailing whitespace
- Unordered key
- Value without quotes
that's fourteen checks bestie. she is thorough. π
π₯ OPTIONS π₯
- for a full list of options, run
dotenv-linter --helpin your terminal β¨
fr fr, the manpage is keeping it mysterious β the real options live behind --help. go ask her directly, she'll tell you everything π
π AUTHOR π
this manual page was written by Ching He <heqing@rool.me> for the Debian project π«Ά
and that's the whole page bestie!! π
sign-off time: this is dotenv-linter 4.0.0, dated 2026-06-16, and that's the version + date energy we're closing on π slay, go lint something, ily πβ¨
π¦ where this page comes from
- ubuntu stonking: dotenv-linter 4.0.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms