-
Notifications
You must be signed in to change notification settings - Fork 52
/
.editorconfig
53 lines (39 loc) · 1.12 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# RoboRacing base editorconfig
# Editorconfig files are recursive, so if you want to add specifc rules for
# your subdirectory, make a file like this in that directory.
# Lots of configuration is supported, like max line length, and charset.
# for more information look at http://editorconfig.org/. There are
# plugins available for almost every text editor!
# For an easy install of the sublime editorconfig package, go to:
# PackageControl -> Install Package -> EditorConfig
root = false
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
# Use 4 spaces for most files
indent_style = space
max_line_length = 120
# Use 2 spaces for travis files
[{package.json,*.yml}]
indent_style = space
indent_size = 2
# Makefiles are required to use tabs
[{makefile, Makefile}]
indent_style = tab
# cpp files
[*.{c,h,cpp,hpp,ino,test}]
indent_size = 2
# launch files
[*.{launch}]
indent_size = 2
# gazebo files
[*.{xml,sdf,config,urdf,material,world}]
indent_size = 2
# python files
[*.{py}]
indent_size = 4