DEV Community

Cover image for Announcing dotenv-linter: a tool to lint your .env files

Announcing dotenv-linter: a tool to lint your .env files

Nikita Sobolev on January 10, 2019

I happy to announce a simple yet very useful tool to lint your .env files. wemake-services / doten...
Collapse
 
protium profile image
protium

Cool! Have you thought about making a VS Code extension 😃?

Collapse
 
sobolevn profile image
Nikita Sobolev wemake.services

Nope, but I have now! Do you want to help?

Collapse
 
protium profile image
protium

I will give it a try next week! Technically speaking, if it's possible to install the repo as dependency of the extension (or it could be a requirement) and execute the linter as a python shell call, it should be able to tell the user if the file has some errors and the line numbers? As I did a quick read of the source code it reports the filename and line number.

Thread Thread
 
sobolevn profile image
Nikita Sobolev wemake.services

Yes, it sounds like it would work.

Collapse
 
sobolevn profile image
Nikita Sobolev wemake.services

Pretty much the same as with vscode. It is on the roadmap. Contributions are especially welcome.

Feel free to start a project. You will have all my support :)