forked from rstudio/rstudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
32 lines (26 loc) · 643 Bytes
/
.editorconfig
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
# EditorConfig settings for RStudio. Some editors will read these automatically;
# for those that don't, see here:
# http://editorconfig.org/
# for most language files, use Unix line endings, 3-space tabs, and wrap at 100
# characters
[*.{js,ts,tsx}]
indent_style = space
indent_size = 2
end_of_line = lf
max_line_length = 100
[*.{cpp,hpp,R,mm}]
indent_style = space
indent_size = 3
end_of_line = lf
max_line_length = 100
# R files should end with a newline
[*.R]
insert_final_newline = true
# Settings for CMake files
[CMakeLists.txt]
indent_style = space
indent_size = 3
[*.json]
indent_style = space
indent_size = 2
end_of_line = lf