From 0d66e02f5c6ee0fbf988a2d2c75c59c139be10d7 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Fri, 26 May 2023 04:16:06 +1000 Subject: [PATCH 1/2] Add basic `.editorconfig` file to help maintain consistent coding styles --- .editorconfig | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000000..5e71d1584b87 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,26 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +root = true + +[*] +charset = utf-8 +end_of_line = lf +# indent_size = 4 +# indent_style = space +insert_final_newline = true +# max_line_length = 120 +# tab_width = 4 From 658d405b78953a62c9608d8424359d35ad213aab Mon Sep 17 00:00:00 2001 From: John Bampton Date: Fri, 19 Dec 2025 02:27:18 +1000 Subject: [PATCH 2/2] Update .editorconfig Co-authored-by: dahn --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 5e71d1584b87..fffc67955b55 100644 --- a/.editorconfig +++ b/.editorconfig @@ -20,7 +20,7 @@ root = true charset = utf-8 end_of_line = lf # indent_size = 4 -# indent_style = space +indent_style = space insert_final_newline = true # max_line_length = 120 # tab_width = 4