Skip to content

Commit d4af766

Browse files
danobikdave
authored andcommitted
btrfs-progs: add basic .editorconfig
Not all contributors work on projects that use linux kernel coding style. This commit adds a basic editorconfig [0] to assist contributors with managing configuration. [0]: https://editorconfig.org/ Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Neal Gompa <[email protected]> Signed-off-by: Daniel Xu <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent 7ee65c6 commit d4af766

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.editorconfig

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[*]
2+
end_of_line = lf
3+
insert_final_newline = true
4+
trim_trailing_whitespace = true
5+
charset = utf-8
6+
indent_style = tab
7+
indent_size = 8
8+
9+
[*.py]
10+
indent_size = 4

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
/cscope.in.out
6666
/cscope.po.out
6767
.*
68+
!.editorconfig
6869

6970
/Documentation/Makefile
7071
/Documentation/*.html

0 commit comments

Comments
 (0)