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
5 changes: 5 additions & 0 deletions .changeset/moody-monkeys-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"hardhat": patch
---

Update `.gitignore` files in the sample projects to ignore snapshots and env files.
Comment thread
ChristopherDedominici marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,16 @@
# Typechain output
/types

# Environment files
.env
.env.*
!.env.example

# Hardhat coverage reports
/coverage

# Gas snapshot files
/.gas-snapshot
Comment thread
ChristopherDedominici marked this conversation as resolved.

# Snapshot cheatcodes output
/snapshots
11 changes: 11 additions & 0 deletions packages/hardhat/templates/hardhat-3/02-mocha-ethers/gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,16 @@
# Typechain output
/types

# Environment files
.env
.env.*
!.env.example

# Hardhat coverage reports
/coverage

# Gas snapshot files
/.gas-snapshot
Comment thread
ChristopherDedominici marked this conversation as resolved.

# Snapshot cheatcodes output
/snapshots
11 changes: 11 additions & 0 deletions packages/hardhat/templates/hardhat-3/03-minimal/gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,16 @@
# Typechain output
/types

# Environment files
.env
.env.*
!.env.example

# Hardhat coverage reports
/coverage

# Gas snapshot files
/.gas-snapshot
Comment thread
ChristopherDedominici marked this conversation as resolved.

# Snapshot cheatcodes output
/snapshots
Loading