Skip to content

Commit 5ada42e

Browse files
WavyEbuilderstephensmalley
authored andcommitted
add an editorconfig file
editorconfig is a standardised way to configure editors for a project. Based off the Linux kernel .editorconfig file. Signed-off-by: Rahul Sandhu <[email protected]> Acked-by: Stephen Smalley <[email protected]>
1 parent 54c79a7 commit 5ada42e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
3+
root = true
4+
5+
[{*.{c,h,mk},Makefile,Makefile.*}]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
indent_style = tab
10+
indent_size = 8
11+
12+
[*.py]
13+
charset = utf-8
14+
end_of_line = lf
15+
insert_final_newline = true
16+
indent_style = space
17+
indent_size = 4

0 commit comments

Comments
 (0)