From 219180b580d0cd8d46a9faf6a4c631f83d866e66 Mon Sep 17 00:00:00 2001 From: mehrdadn Date: Wed, 26 Feb 2020 19:05:36 -0800 Subject: [PATCH] Improve .editorconfig entries (#7344) --- .editorconfig | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index 3bc651366..e0fb20e78 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,14 +1,28 @@ root = true [*] +indent_style = space end_of_line = lf -[*.py] -indent_style = space +[*.{bzl,bazel}] indent_size = 4 -wrap_width = 80 -[*.{hpp,hxx,h,cpp,cxx,cc,c}] -indent_style = space +[*.{h,hpp,hxx,cpp,cxx,cc,c}] indent_size = 2 wrap_width = 90 + +[*.html] +indent_size = 2 + +[*.java] +indent_size = 2 + +[*.proto] +indent_size = 2 + +[*.{py,pyx,pxd,pxi}] +indent_size = 4 +wrap_width = 79 + +[*.sh] +indent_size = 2