Skip to content

Commit

Permalink
rasdaemon: add .editorconfig file to follow our coding style
Browse files Browse the repository at this point in the history
That helps keeping the coding style, as lots of editors support
this file.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mchehab committed Jul 19, 2024
1 parent 56cbb92 commit 7fd66c1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# SPDX-License-Identifier: GPL-2.0-only

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*/contrib]
indent_style = tab
indent_size = 8

[{*.{c,h,pl,sh},Makefile.am}]
indent_style = tab
indent_size = 8

[*.yml,labels/*,configure.ac]
indent_style = space
indent_size = 2

[*.py,ras-mc-ctl.in]
indent_style = space
indent_size = 4

0 comments on commit 7fd66c1

Please sign in to comment.