Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
Change-Id: I8c7f9e6e0718d7324dbf59294c3e5d56cfa501d5
  • Loading branch information
Pesa committed Feb 19, 2024
1 parent 526d4c8 commit 9e9ece6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
root = true

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

[*.{cpp,hpp}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[{*.{py,sh},.jenkins,wscript}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
indent_style = space
trim_trailing_whitespace = false

[*.rst]
indent_style = space
trim_trailing_whitespace = true

[*.{yaml,yml}]
indent_style = space
indent_size = 2

0 comments on commit 9e9ece6

Please sign in to comment.