Dotenv-linter is an open source tool for checking and fixing various issues in .env files, which are used for more convenient storage of environment variables within a project. The use of environment variables is recommended by the development manifesto 'The Twelve Factor App' — a set of best practices for building applications for any platform. Adhering to this manifesto prepares your application for scalability, making it easy and quick to deploy on modern cloud platforms.
The new version of dotenv-linter not only finds and fixes issues but can also compare .env files with each other, supports multi-line values, the 'export' prefix, and much more.
For a detailed description of the changes with examples, read the article.
Source: linux.org.ru
