You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/04/25 22:54:07 UTC

[trafficserver] branch master updated: Adds a basic .editconfig, should follow clang-format rules

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new a33869e  Adds a basic .editconfig, should follow clang-format rules
a33869e is described below

commit a33869e1f285494789fed6e09cfe711b66fe4098
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Tue Apr 24 16:20:54 2018 -0600

    Adds a basic .editconfig, should follow clang-format rules
---
 .editorconfig | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..2602276
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,43 @@
+#
+# 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.
+
+# Configuration file for EditorConfig
+# More information is available under http://EditorConfig.org
+
+# Ignore any other files further up in the file system
+root = true
+
+# Defaults
+[*]
+end_of_line = lf
+insert_final_newline = true
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = true
+max_line_length = 132
+# Python
+[*.py]
+indent_size = 4
+charset = utf-8
+# Perl
+[{*.pm,*.pl}]
+indent_size = 4
+charset = utf-8
+# Automake files. TODO: Should this do indent_style = tab ?
+[*.am]
+trim_trailing_whitespace = false
+indent_size = 2

-- 
To stop receiving notification emails like this one, please contact
zwoop@apache.org.