Skip to content

Commit fe5fb60

Browse files
committed
editorconfig: add swift style
Xcode 16 introduces support for EditorConfig-based editor settings. Many other editors also support EditorConfig. In particular, this enables trailing whitespace trimming for Swift source files.
1 parent 0e3ecbe commit fe5fb60

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.editorconfig

+5
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ indent_style = space
77
[bash-preexec.sh]
88
indent_size = 4
99
indent_style = space
10+
11+
[*.swift]
12+
indent_size = 4
13+
indent_style = space
14+
trim_trailing_whitespace = true

0 commit comments

Comments
 (0)