Skip to content
Merged
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
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.{rs,go}]
indent_size = 4

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go files incorrectly configured to use spaces

Medium Severity

The [*.{rs,go}] section only overrides indent_size to 4 but inherits indent_style = space from the [*] section. Go universally uses tabs for indentation (enforced by gofmt), and this is a Go project with .go files throughout cmd/, internal/, and pkg/. Editors respecting this config will insert spaces into Go files, conflicting with gofmt and causing persistent formatting churn.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 68fbbca. Configure here.


[*.py]
indent_size = 4

[Makefile]
indent_style = tab

[*.md]
trim_trailing_whitespace = false