Skip to content

Commit

Permalink
Add more .editorconfig properties
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Oct 1, 2024
1 parent 53b6fc2 commit 62cf111
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Make indentation settings explicit, to override possible system-wide settings
[*]
insert_final_newline = true
trim_trailing_whitespace = true

[*.swift]
indent_style = space
indent_size = 4

# Other properties Xcode 16 supports, as per https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes
#
# tab_width: a whole number defining the number of columns used to represent a tab character. This defaults to the value of indent_size and doesn't usually need to be specified.
#
# end_of_line: set to lf, cr, or crlf to control how line breaks are represented.
#
# max_line_length: set to a positive integer to force hard line wrapping after the amount of characters specified; set to 'off' to turn off this feature (use the editor settings).

0 comments on commit 62cf111

Please sign in to comment.