dotenv-safe instead of manual checking a hardcodet whitelist
Author: SharaalCreated Jan 25, 2018Updated Jul 22, 2021
Labelssuggestion
Maybe its an idea to use dotenv-safe, with that you can define the needed env variables in the .env.example (the optional ones can be prefixed with # ).
Source: elsewhencode/project-guidelines