root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
YAML (GitHub Actions, Foundry config, etc.)
[*.{yml,yaml}]
indent_size = 2
Markdown documentation
[*.md]
max_line_length = off
trim_trailing_whitespace = false
Solidity contracts (explicit for clarity)
[*.sol]
indent_size = 4
Editor configuration, see https://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
YAML (GitHub Actions, Foundry config, etc.)
[*.{yml,yaml}]
indent_size = 2
Markdown documentation
[*.md]
max_line_length = off
trim_trailing_whitespace = false
Solidity contracts (explicit for clarity)
[*.sol]
indent_size = 4