1# 2## Licensed to the Apache Software Foundation (ASF) under one 3## or more contributor license agreements. See the NOTICE file 4## distributed with this work for additional information 5## regarding copyright ownership. The ASF licenses this file 6## to you under the Apache License, Version 2.0 (the 7## "License"); you may not use this file except in compliance 8## with the License. You may obtain a copy of the License at 9## 10## http://www.apache.org/licenses/LICENSE-2.0 11## 12## Unless required by applicable law or agreed to in writing, 13## software distributed under the License is distributed on an 14## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15## KIND, either express or implied. See the License for the 16## specific language governing permissions and limitations 17## under the License. 18## 19# 20 21# EditorConfig: http://editorconfig.org 22# see doc/coding_standards.md 23 24root = true 25 26[*] 27end_of_line = lf 28charset = utf-8 29trim_trailing_whitespace = true 30insert_final_newline = true 31 32# ActionScript 33# [*.as] 34 35# C 36# [*.c] 37 38# C++ 39[*.cpp] 40indent_style = space 41indent_size = 2 42 43# C-Sharp 44# [*.cs] 45 46# D 47# [*.d] 48 49# Erlang 50# [*.erl] 51 52# Go-lang 53[*.go] 54indent_style = tab 55indent_size = 8 56 57# C header files 58# [*.h] 59 60# Haskell 61# [*.hs] 62 63# Haxe 64# [*.hx] 65 66# Java 67# [*.java] 68 69# Javascript 70[*.js] 71indent_style = space 72indent_size = 2 73 74# JSON 75[*.json] 76indent_style = space 77indent_size = 2 78 79# Lua 80# [*.lua] 81 82[*.markdown] 83indent_style = space 84trim_trailing_whitespace = false 85 86[*.md] 87indent_style = space 88trim_trailing_whitespace = false 89 90# OCaml 91# [*.ml] 92 93# Delphi Pascal 94# [*.pas] 95 96# PHP 97# [*.php] 98 99# Perl 100# [*.pm] 101 102# Python 103# [*.py] 104 105# Ruby 106# [*.rb] 107 108# Typescript 109# [*.ts] 110 111# XML 112# [*.xml] 113