-
Notifications
You must be signed in to change notification settings - Fork 168
refactor: rename .env.local to .env.development and update .gitignore to track it #970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Matthew Wang <matt8p@Matthews-MacBook-Pro.local>
Co-authored-by: Matthew Wang <matt8p@Matthews-MacBook-Pro.local>
Co-authored-by: Matthew Wang <matt8p@Matthews-MacBook-Pro.local>
Co-authored-by: Matthew Wang <matt8p@Matthews-MacBook-Pro.local>
Co-authored-by: Matthew Wang <matt8p@Matthews-MacBook-Pro.local>
Co-authored-by: Matthew Wang <matt8p@Matthews-MacBook-Pro.local>
Co-authored-by: Matthew Wang <matt8p@Matthews-MacBook-Pro.local>
Co-authored-by: Matthew Wang <matt8p@Matthews-MacBook-Pro.local>
Co-authored-by: Matthew Wang <matt8p@Matthews-MacBook-Pro.local>
…am#922) Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Andrew Khadder <andrew.khadder@gmail.com>
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
…ture (MCPJam#949) Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Andrew Khadder <andrew.khadder@gmail.com>
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Andrew Khadder <andrew.khadder@gmail.com>
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Andrew Khadder <andrew.khadder@gmail.com>
Co-authored-by: Matthew Wang <matt8p@Matthews-MacBook-Pro.local>
Co-authored-by: Matthew Wang <matt8p@Matthews-MacBook-Pro.local>
Co-authored-by: Matthew Wang <matt8p@Matthews-MacBook-Pro.local>
WalkthroughThe 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
🧰 Additional context used🔍 Remote MCPI'll search for relevant context about environment file management practices that would be useful for reviewing this PR about renaming This PR renames Key Concern: Standard Best PracticesEnvironment local files are usually ignored by Git (.gitignore) to keep sensitive or machine-specific information private. More specifically, .env.local is commonly used in frameworks like Next.js or Create React App, and is specifically meant for local development only. File Tracking StandardsYou shouldn't commit .env files to git repositories—or any other version control system. The standard practice is that .env files are a surrogate environment variable for local development only, but should never be committed to Git. Security RiskThe .env file contains sensitive information about the project. Information like your Database Credentials, Your Encryption Key, If your app is using any API then you can have API Keys/Access tokens can be loaded from the .env file and you might not want those credentials to be accessible to everyone who has access to the project. Important Technical NoteAdding a file Git is already tracking to .gitignore has no effect. A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected. This means if Recommended AlternativeA solution for this is: gitignore .env files, but also have a file like .env_default which you keep under source control, with some reasonable default settings. When someone needs a .env file the first time, they simply have to make a copy of .env_default as .env and adapt the file to their environment. Key Question for Review: Does the ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
No description provided.