8311227: Add .editorconfig

Co-authored-by: David Briemann <david@briemann.com>
Reviewed-by: erikj
This commit is contained in:
Magnus Ihse Bursie 2025-04-07 20:32:26 +00:00
parent 3757f660f2
commit cebda921dd
2 changed files with 10 additions and 0 deletions

7
.editorconfig Normal file
View File

@ -0,0 +1,7 @@
root = true
[*.{cpp,hpp,c,h,java,cc,hh,m,mm,S,md,properties,gmk,m4,ac}]
trim_trailing_whitespace = true
[Makefile]
trim_trailing_whitespace = true

View File

@ -0,0 +1,3 @@
[*.{cpp,hpp,c,h}]
indent_style = space
indent_size = 2