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
20 changes: 13 additions & 7 deletions .editorconfig

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 13 additions & 7 deletions standards/editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,24 @@ charset = utf-8
end_of_line = lf
insert_final_newline = true

indent_style = tab
indent_size = tab
Comment thread
cursor[bot] marked this conversation as resolved.
Comment thread
cursor[bot] marked this conversation as resolved.
Comment thread
cursor[bot] marked this conversation as resolved.

[*.dart]
indent_style = space
indent_size = 2

# Matches the `shfmt` settings in our treefmt configuration.
[*.{sh,bash}]
indent_style = tab
[*.nix]
indent_style = space
indent_size = 2

[{Makefile,*.mk}]
indent_style = tab
[*.toml]
indent_style = space
indent_size = 2

[*.{rs,go}]
indent_style = tab
[*.{yaml,yml}]
indent_style = space
indent_size = 2

# Deliberately absent: `trim_trailing_whitespace`. It conflicts with rustfmt in
# places (which is why the `trailing-whitespace` pre-commit hook is off too),
Expand Down