forked from TableProApp/TablePro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
56 lines (45 loc) · 1.13 KB
/
Copy path.editorconfig
File metadata and controls
56 lines (45 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# EditorConfig helps maintain consistent coding styles
# https://editorconfig.org
root = true
# Default settings for all files
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
# String catalogs. Xcode writes these with no trailing newline, and scripts/localization.py
# reproduces that byte for byte so a translation merge does not reformat a 109,000-line file.
# The [*] rule above would add one back on every save and break `localization.py verify`.
[*.xcstrings]
insert_final_newline = false
# Swift files
[*.swift]
indent_size = 4
max_line_length = 120
# Markdown files
[*.md]
trim_trailing_whitespace = false
max_line_length = off
# JSON files
[*.json]
indent_size = 2
# YAML files
[*.{yml,yaml}]
indent_size = 2
# Property lists
[*.plist]
indent_size = 4
# Shell scripts
# CLAUDE.md sets 4 spaces for the codebase, and 34 of the 43 shell scripts already use it.
# This file said 2, so it disagreed with both.
[*.sh]
indent_size = 4
# Makefile
[Makefile]
indent_style = tab
# Xcode build configuration
[*.xcconfig]
indent_style = space
indent_size = 4