Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
Change-Id: Ic9d295f5e9e51c6aee21364385f226a86114c180
  • Loading branch information
Pesa committed Feb 19, 2024
1 parent 47eb6d9 commit 74090e1
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 74090e1

Please sign in to comment.