Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
Change-Id: I52b2b3fc86fd02ccb11b73a3f184a4ba50497bd6
  • Loading branch information
Pesa committed Mar 12, 2024
1 parent 30c41ec commit a8bddcb
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 a8bddcb

Please sign in to comment.