elsewhencode / elsewhencode/project-guidelines

dotenv-safe instead of manual checking a hardcodet whitelist

Open
#111 1 comment 3 reactions 1 assignee Claimed by @vpanjganj View on GitHub
suggestion
Dominant language
JavaScript
Stars
29.4k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

Instead of:
https://github.com/wearehive/project-guidelines/blob/4baf60bab3fc3d4616712b04f3dab48a3774d20c/config.sample.js#L1-L9

Maybe its an idea to use [dotenv-safe](https://www.npmjs.com/package/dotenv-safe), with that you can define the needed env variables in the `.env.example` (the optional ones can be prefixed with `# `).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.