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 摘要。