Closed sharma-shanu closed 9 months ago
Since we are using 't3-env' to support typesafe environment variables across the web app.
This PR adds an ESlint rule in the apps/web project to avoid the direct access of environment variables in the source code.
During Development:
After npm run lint:
npm run lint
Someone is attempting to deploy a commit to the Inbox Zero Team on Vercel.
A member of the Team first needs to authorize it.
Nice 😄
Since we are using 't3-env' to support typesafe environment variables across the web app.
This PR adds an ESlint rule in the apps/web project to avoid the direct access of environment variables in the source code.
During Development:![Screenshot 2023-11-27 at 5 09 09 AM](https://github.com/elie222/inbox-zero/assets/85648738/0bb8c034-dda8-4f73-90f6-11a0fc311a12)
After
npm run lint
: