]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/.editorconfig
d/control: depend on python3-yaml for ceph-mgr
[ceph.git] / ceph / src / pybind / mgr / dashboard / .editorconfig
CommitLineData
11fdf7f2
TL
1# EditorConfig helps developers define and maintain consistent coding styles
2# between different editors and IDEs.: http://EditorConfig.org
3
4# top-most EditorConfig file
5root = true
6
7# Unix-style newlines with a newline ending every file
8[*]
9end_of_line = lf
10insert_final_newline = true
11
12# Set default charset
13[*.{js,py}]
14charset = utf-8
15
16# 4 space indentation for Python files
17[*.py]
18indent_style = space
19indent_size = 4
20
21# Indentation override for all JS under frontend directory
22[frontend/**.js]
23indent_style = space
24indent_size = 2
25
26# Indentation override for all HTML under frontend directory
27[frontend/**.html]
28indent_style = space
29indent_size = 2