Skip to content

Commit 5b1a117

Browse files
committed
chore: add exclude_lints
1 parent 9f3790c commit 5b1a117

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

foundry.toml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,29 @@
125125
"info",
126126
"gas"
127127
]
128-
# List of lint IDs to exclude from checking (e.g., "mixed-case-function").
129-
exclude_lints = []
128+
# List of lints to exclude from linting.
129+
exclude_lints = [
130+
# High
131+
# "incorrect-shift",
132+
# "unchecked-call",
133+
# "erc20-unchecked-transfer",
134+
135+
# Medium
136+
# "divide-before-multiply",
137+
138+
# Info
139+
# "unused-import",
140+
# "unaliased-plain-import",
141+
# "mixed-case-function",
142+
# "mixed-case-variable",
143+
# "pascal-case-struct",
144+
# "screaming-snake-case-const",
145+
# "screaming-snake-case-immutable",
146+
147+
# Gas
148+
# "asm-keccak256",
149+
# "unwrapped-modifier"
150+
]
130151
# List of files or patterns to ignore when running the linter (can use glob patterns)
131152
ignore = [
132153
"src/test/**/*",

0 commit comments

Comments
 (0)