Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ CLERK_SECRET_KEY="clerk sk key"
UPLOADTHING_SK="uplt sk"
UPLOADTHING_TOKEN="uplt tk"

MAILHOST=""
MAILPORT=""
MAILUSER=""
MAILPASS=""
# Resend (envio de e-mail)
RESEND_API_KEY="re_xxxxxxxx"
RESEND_FROM="\"Intranet Grupo RHenz\" <intranet.rhenz@apps.allpines.com.br>"
Comment on lines +22 to +24

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Avoid embedded quotes in RESEND_FROM to satisfy dotenv-linter.

The linter warning indicates quote characters inside the value. You can drop the inner quotes and keep the display name valid.

🧹 Suggested update
-RESEND_FROM="\"Intranet Grupo RHenz\" <intranet.rhenz@apps.allpines.com.br>"
+RESEND_FROM="Intranet Grupo RHenz <intranet.rhenz@apps.allpines.com.br>"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Resend (envio de e-mail)
RESEND_API_KEY="re_xxxxxxxx"
RESEND_FROM="\"Intranet Grupo RHenz\" <intranet.rhenz@apps.allpines.com.br>"
# Resend (envio de e-mail)
RESEND_API_KEY="re_xxxxxxxx"
RESEND_FROM="Intranet Grupo RHenz <intranet.rhenz@apps.allpines.com.br>"
🧰 Tools
🪛 dotenv-linter (4.0.0)

[warning] 23-23: [QuoteCharacter] The value has quote characters (', ")

(QuoteCharacter)

🤖 Prompt for AI Agents
In @.env.example around lines 22 - 24, The RESEND_FROM example contains embedded
double quotes inside the value which trips dotenv-linter; update the RESEND_FROM
variable to remove the inner quotes around the display name (i.e., change
RESEND_FROM="\"Intranet Grupo RHenz\" <intranet.rhenz@...>" to a value without
embedded quotes such as RESEND_FROM=Intranet Grupo RHenz <intranet.rhenz@...>
or, if you must quote the whole string, wrap the entire value in quotes without
internal quotes) so the RESEND_FROM entry conforms to dotenv-linter rules.


NEXT_PUBLIC_FOOD_ORDER_DEADLINE_HOUR=9
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"react-markdown": "^10.1.0",
"recharts": "^3.1.2",
"remark-gfm": "^4.0.1",
"resend": "^6.9.1",
"server-only": "^0.0.1",
"sonner": "^2.0.1",
"superjson": "^2.2.1",
Expand Down
Loading
Loading