elsewhencode / elsewhencode/project-guidelines

dotenv-safe instead of manual checking a hardcodet whitelist

未关闭
#111 1 条评论 3 个 reaction 已指派 1 人 已被 @vpanjganj 认领 在 GitHub 查看
suggestion
主要语言
JavaScript
星标
29.4k
派生
3.1k
PR 合并指标
30 天内没有已合并 PR

描述

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 `# `).

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。