Skip to content

Commit

Permalink
add .editorconfig for consistent code style across editors (PX4#22916)
Browse files Browse the repository at this point in the history
EditorConfig is a well-known convention to share style settings across
different editors. Adding one will make it easier for new contributors
or people who like to use a different editor to contribute.
  • Loading branch information
flyingthingsintothings authored Mar 22, 2024
1 parent 82a1aa3 commit d0251b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
root = true

[*.{c,cpp,cc,h,hpp}]
indent_style = tab
tab_width = 8
max_line_length = 120

0 comments on commit d0251b8

Please sign in to comment.