Skip to content

Commit 9d47a01

Browse files
adds .editorconfig (#35956)
1 parent f3d10e3 commit 9d47a01

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.editorconfig

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Licensed under the Apache License, Version 2.0 (the "License");
2+
# you may not use this file except in compliance with the License.
3+
# You may obtain a copy of the License at
4+
#
5+
# http://www.apache.org/licenses/LICENSE-2.0
6+
#
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
# EditorConfig is awesome: https://EditorConfig.org
13+
14+
# top-most EditorConfig file
15+
root = true
16+
17+
[*]
18+
indent_style = space
19+
indent_size = 2
20+
end_of_line = lf
21+
charset = utf-8
22+
trim_trailing_whitespace = true
23+
insert_final_newline = true
24+
25+
[*.{go,mod,sum}]
26+
indent_style = tab
27+
indent_size = unset
28+
29+
[Dockerfile]
30+
indent_size = 4

0 commit comments

Comments
 (0)