Skip to content

Commit

Permalink
feat(env): add env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
JowiAoun committed Sep 4, 2024
1 parent 6d818dd commit c77226c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/env/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ export default (async () => {

return [
...baseConfig,
{
rules: {
'dot-notation': ['error', { allowPattern: '^[A-Z_]+$' }],
},
},

// The following configurations are commented out
// ...compat.extends(
Expand Down
2 changes: 1 addition & 1 deletion packages/env/src/website/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ export const env = createEnv({
PORT: process.env.PORT,
},
emptyStringAsUndefined: true,
skipValidation: !!process.env.SKIP_ENV_VALIDATION,
// skipValidation: !!process.env.['SKIP_ENV_VALIDATION'],
})

0 comments on commit c77226c

Please sign in to comment.