-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy path.editorconfig
More file actions
45 lines (37 loc) · 819 Bytes
/
.editorconfig
File metadata and controls
45 lines (37 loc) · 819 Bytes
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
# top-most EditorConfig file
root = true
# General settings for all files
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
# C and Header files: Tabs for indentation
[*.{c,h}]
indent_style = tab
indent_size = 8
tab_width = 8
# Makefiles: Tabs for indentation
[Makefile]
indent_style = tab
tab_width = 8
# Shell scripts: 2 spaces for indentation
[*.sh]
indent_style = space
indent_size = 2
# Python files: 4 spaces for indentation (Chromium style)
[*.py]
indent_style = space
indent_size = 4
# Rust files: 4 spaces for indentation
[*.rs]
indent_style = space
indent_size = 4
# Android Blueprint files: 4 spaces for indentation
[Android.bp]
indent_style = space
indent_size = 4
# Markdown files: 2 spaces for indentation
[*.md]
indent_style = space
indent_size = 2