Software /
code /
prosody-modules
Comparison
.editorconfig @ 5611:aab0023b51c9
editorconfig: Document established conventions
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 15 Jul 2023 10:45:26 +0200 |
comparison
equal
deleted
inserted
replaced
5610:ee335399d90e | 5611:aab0023b51c9 |
---|---|
1 # https://editorconfig.org/ | |
2 | |
3 root = true | |
4 | |
5 [*] | |
6 charset = utf-8 | |
7 end_of_line = lf | |
8 indent_style = tab | |
9 insert_final_newline = true | |
10 trim_trailing_whitespace = true | |
11 max_line_length = 150 | |
12 | |
13 [*.json] | |
14 # json_pp -json_opt canonical,pretty | |
15 indent_size = 3 | |
16 indent_style = space | |
17 | |
18 [{README,COPYING,CONTRIBUTING,TODO}{,.markdown,.md}] | |
19 # pandoc -s -t markdown | |
20 indent_size = 4 | |
21 indent_style = space | |
22 | |
23 [*.py] | |
24 indent_size = 4 | |
25 indent_style = space | |
26 | |
27 [*.{xml,svg}] | |
28 # xmllint --nsclean --encode UTF-8 --noent --format - | |
29 indent_size = 2 | |
30 indent_style = space | |
31 | |
32 [*.yaml] | |
33 indent_size = 2 | |
34 indent_style = space |