Software /
code /
prosody
Annotate
.editorconfig @ 13604:a4217361c1c6
core.moduleapi: Include source modules when handling items
This improves consistency. Previously the 'source' field was only
provided in the original event when an item was added. It is used to
report the name of the module providing the item in a few places.
Also considered adding a new API to modulemanager returning a mapping
of items per module and then using that here.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 08 Jan 2025 08:33:34 +0100 |
parent | 13194:b8398218dd23 |
rev | line source |
---|---|
13191
1266efb7101c
editorconfig: Add link to format description
Kim Alvefur <zash@zash.se>
parents:
11706
diff
changeset
|
1 # https://editorconfig.org/ |
1266efb7101c
editorconfig: Add link to format description
Kim Alvefur <zash@zash.se>
parents:
11706
diff
changeset
|
2 |
11706 | 3 root = true |
4 | |
5 [*] | |
13192
4a107a63b0a3
editorconfig: Explicitly specify preferred charset (UTF-8)
Kim Alvefur <zash@zash.se>
parents:
13191
diff
changeset
|
6 charset = utf-8 |
11706 | 7 end_of_line = lf |
8 indent_style = tab | |
9 insert_final_newline = true | |
10 trim_trailing_whitespace = true | |
13193
e2e4779c6790
editorconfig: Specify max line length to match luacheck settings
Kim Alvefur <zash@zash.se>
parents:
13192
diff
changeset
|
11 max_line_length = 150 |
11706 | 12 |
13 [CHANGES] | |
14 indent_size = 4 | |
15 indent_style = space | |
16 | |
17 [configure] | |
18 indent_size = 3 | |
19 indent_style = space | |
20 | |
13194
b8398218dd23
editorconfig: Include the command used to normalize *.xml
Kim Alvefur <zash@zash.se>
parents:
13193
diff
changeset
|
21 [*.xml] |
b8398218dd23
editorconfig: Include the command used to normalize *.xml
Kim Alvefur <zash@zash.se>
parents:
13193
diff
changeset
|
22 # xmllint --nsclean --encode UTF-8 --noent --format - |
11706 | 23 indent_size = 2 |
24 indent_style = space |