{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"Lints `.env` files for consistency violations and best practices, catching issues like duplicate keys, improper casing, spacing errors, and quote misuse.","skillfed_tags":["linting","env-files","configuration"],"use_cases":["Enforce naming conventions (UPPER_CASE) and formatting rules across team `.env` files in a shared project.","Catch duplicate environment variable definitions before they cause configuration conflicts in production.","Validate `.env.template` files alongside actual `.env` files to ensure consistency between template and implementation.","Integrate into CI/CD pipelines via pre-commit hooks to prevent malformed `.env` files from being committed.","Audit existing `.env` files in legacy projects to identify and fix accumulated formatting and consistency issues."],"what_it_does":"dotenv-linter is a command-line tool that checks `.env` files for consistency and adherence to best practices. It detects problems like leading whitespace, improper spacing around equals signs, unnecessary quotes, duplicate keys, and non-uppercase variable names\u2014issues that are easy to miss in simple text files but can cause subtle bugs or configuration errors.\n\nThe tool is designed to integrate into existing workflows, including as a pre-commit hook. It depends on a small set of libraries: attrs for data structures, click for CLI scaffolding, lark for parsing, and typing_extensions for type hints. The project is actively maintained and supports modern Python versions from 3.10 onward.","worth_installing":"Yes. dotenv-linter is actively maintained, has no known vulnerabilities, low install friction, and solves a real problem\u2014catching `.env` file mistakes that are easy to overlook. It's lightweight, integrates well with pre-commit workflows, and is suitable for teams that want to enforce consistency in environment configuration files."},"id":"dotenv-linter","links":{"html":"https://skillfed.io/packages/dotenv-linter","md":"https://skillfed.io/packages/dotenv-linter.md","pypi":"https://pypi.org/project/dotenv-linter/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-31","license_spdx":null,"license_treatment":"permissive","name":"dotenv-linter","python_support":"supports_current","summary":"Linting dotenv files like a charm!"},"popularity":{"monthly_downloads":172774,"position":10326,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.9.0"}
