From cebda921dd49cf05b521f9ab3f731dd44719b027 Mon Sep 17 00:00:00 2001 From: Magnus Ihse Bursie Date: Mon, 7 Apr 2025 20:32:26 +0000 Subject: [PATCH] 8311227: Add .editorconfig Co-authored-by: David Briemann Reviewed-by: erikj --- .editorconfig | 7 +++++++ src/hotspot/.editorconfig | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 .editorconfig create mode 100644 src/hotspot/.editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000000..0e6c17e7674 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/src/hotspot/.editorconfig b/src/hotspot/.editorconfig new file mode 100644 index 00000000000..48e63362b54 --- /dev/null +++ b/src/hotspot/.editorconfig @@ -0,0 +1,3 @@ +[*.{cpp,hpp,c,h}] +indent_style = space +indent_size = 2