-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
47 lines (33 loc) · 1014 Bytes
/
foundry.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
fs_permissions = [{ access = "read-write", path = "./deployments" }]
etherscan_api_key = "${ETHERSCAN_API_KEY}"
[fmt]
# Maximum line length where formatter will try to wrap the line
line_length = 120
# Number of spaces per indentation level
tab_width = 4
# Print spaces between brackets
bracket_spacing = true
# Style of function parameters/arguments
func_brackets_newline = true
# Style of array brackets
array_brackets = "always"
# Put function attributes on their own line
func_attrs_newline = true
# Maximum number of blank lines to keep
max_line_length = 120
# Quote style for strings ('single' or 'double')
quote_style = 'double'
# Add space after control flow keywords
keyword_spacing = true
# Sort imports
sort_imports = true
# Sort contract elements (functions, events, etc.)
contract_member_ordering = true
# Number of blank lines around top level declarations
top_level_line_count = 2
# Add newline at end of file
end_of_line = true