Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
Change-Id: I85baf9590713bc039c404503c15603cf8f6a79a6
  • Loading branch information
Pesa committed Feb 16, 2024
1 parent c8625bb commit 3426378
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 3426378

Please sign in to comment.