blob: 58ce27551069c3afba42e801f85827a5d804161a [file]
# 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.
# This is an EditorConfig file: https://editorconfig.org/
# This is the top-most config for this project
root = true
# General settings
[*]
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
spelling_language = en
# Language-specific settings, in approximate alphabetical order
[*.{c,cc,cpp,h,hh,hpp}]
indent_size = 2
indent_style = space
[*.cmake]
indent_size = 2
indent_style = space
[CMakeLists.txt]
indent_size = 2
indent_style = space
[{meson.build,meson_options.txt}]
indent_size = 4
indent_style = space
[*.cs]
indent_size = 4
indent_style = space
[*.{fbs,proto,thrift}]
indent_size = 2
indent_style = space
[*.{py,pyx,pxd,pxi}]
indent_size = 4
indent_style = space
[*.r]
indent_size = 2
indent_style = space
[*.rb]
indent_size = 2
indent_style = space
[*.rst]
indent_size = 3
indent_style = space
[*.sh]
indent_size = 2
indent_style = space
[*.vala]
indent_size = 4
indent_style = space
[*.{yml,yaml}]
indent_size = 2
indent_style = space