sdadfadas
/
.editorconfig
47 строк · 1.3 Кб
1# Licensed to the Apache Software Foundation (ASF) under one
2# or more contributor license agreements. See the NOTICE file
3# distributed with this work for additional information
4# regarding copyright ownership. The ASF licenses this file
5# to you under the Apache License, Version 2.0 (the
6# "License"); you may not use this file except in compliance
7# with the License. You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing,
12# software distributed under the License is distributed on an
13# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14# KIND, either express or implied. See the License for the
15# specific language governing permissions and limitations
16# under the License.
17
18# EditorConfig is awesome: https://EditorConfig.org
19
20# top-most EditorConfig file
21root = true
22
23# Unix-style newlines with a newline ending every file
24[*]
25end_of_line = lf
26insert_final_newline = true
27charset = utf-8
28
29# 4 space indentation for Python files
30[*.py]
31indent_style = space
32indent_size = 4
33max_line_length=88
34
35# 2 space indentation for Frontend files
36[*.{js,jsx,ts,tsx,html,less,css}]
37indent_style = space
38indent_size = 2
39
40# 2 space indentation for json and yaml files
41[*.{json,yml}]
42indent_style = space
43indent_size = 2
44
45# Tab indentation
46[Makefile]
47indent_style = tab
48