Skip to content

Commit 8dfaa1f

Browse files
committed
chore: update foundry.toml to include forge lint config
1 parent a1df1a6 commit 8dfaa1f

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

foundry.toml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,30 @@
116116
"./src/contracts/**/*"
117117
]
118118

119+
[profile.default.lint]
120+
# Specifies which lints to run based on severity.
121+
severity = [
122+
"high",
123+
"med",
124+
"low",
125+
"info",
126+
"gas"
127+
]
128+
# List of lint IDs to exclude from checking (e.g., "mixed-case-function").
129+
exclude_lints = []
130+
# List of files or patterns to ignore when running the linter (can use glob patterns)
131+
ignore = [
132+
"src/test/**/*",
133+
"script/**/*"
134+
]
135+
119136
[profile.forktest.fuzz]
120137
optimizer = false
121138
runs = 16
122139

123140
[profile.coverage.fuzz]
124141
optimizer = false
125142
runs = 1
126-
gas_limit = "18446744073709551615" # u64::MAX
127143

128144
[profile.medium.fuzz]
129145
optimizer = false

0 commit comments

Comments
 (0)