Skip to content

Commit 7ec7981

Browse files
committed
doc CHANGE add editorconfig file
EditorConfig is a file format and collection of text editor plugins for maintaining consistent coding styles between different editors and IDEs. Initialize the file following the current coding style in existing files. In order for this file to be taken into account (unless they use an editor with built-in EditorConfig support), developers will have to install a plugin. Link: https://editorconfig.org/ Link: https://github.com/editorconfig/editorconfig-emacs Link: https://github.com/editorconfig/editorconfig-vim Signed-off-by: Robin Jarry <[email protected]>
1 parent 2430541 commit 7ec7981

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# ex: ft=dosini
2+
3+
root = true
4+
5+
[*]
6+
end_of_line = lf
7+
insert_final_newline = true
8+
charset = utf-8
9+
indent_style = space
10+
indent_size = 4
11+
12+
[*.yml]
13+
indent_size = 2
14+
15+
[*.yang]
16+
indent_size = 2
17+
18+
[packages/debian.rules.in]
19+
indent_style = tabs
20+
indent_size = 1
21+
tab_width = 8

0 commit comments

Comments
 (0)