Skip to content

Commit 7fd98c9

Browse files
Added .env in gitignore; README warns not to commit real secrets (#10)
1 parent 7180761 commit 7fd98c9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22
node_modules
33
/public/dist
44
# ignore coverage
5-
coverage/
5+
coverage/
6+
7+
# local env files
8+
.env.local
9+
.env.*.local
10+
.env

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ Below is the structure of the project directory along with brief descriptions of
3232
[coveralls-badge]: https://coveralls.io/repos/github/gofynd/example-extension-vue/badge.svg?branch=main&&kill_cache=1
3333
[coveralls-url]: https://coveralls.io/github/gofynd/example-extension-vue?branch=main
3434

35+
## Environment Variables
36+
- Never commit `.env` or any file that contains real environment variables and secrets; use `.env.example` (with placeholder values only) for documentation in the repository.

0 commit comments

Comments
 (0)