Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
Change-Id: I1e169bc19ae6be1319c23584715f02ac9e054526
  • Loading branch information
Pesa committed Feb 17, 2024
1 parent 972de80 commit 18592d1
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 18592d1

Please sign in to comment.