Software /
code /
prosody-modules
Annotate
.editorconfig @ 5783:59e38aaa3ec1
mod_storage_s3: Remove wrapper and original timestamp from payload (BC)
Unpacking the wrapper was already removed in 66986f5271c3 so it was
broken already.
Just rely on the Last-Modified date instead, it's not going to be
accurate if a different timestamp is passed, e.g. with migrations, but
that will have to be a future problem.
Perhaps the X-Amz-Meta-* can be used?
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 02 Dec 2023 12:23:15 +0100 |
parent | 5611:aab0023b51c9 |
rev | line source |
---|---|
5611
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 # https://editorconfig.org/ |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 root = true |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 [*] |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 charset = utf-8 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 end_of_line = lf |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 indent_style = tab |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 insert_final_newline = true |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
10 trim_trailing_whitespace = true |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
11 max_line_length = 150 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
12 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
13 [*.json] |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
14 # json_pp -json_opt canonical,pretty |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
15 indent_size = 3 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
16 indent_style = space |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
17 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
18 [{README,COPYING,CONTRIBUTING,TODO}{,.markdown,.md}] |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
19 # pandoc -s -t markdown |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
20 indent_size = 4 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
21 indent_style = space |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
22 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
23 [*.py] |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
24 indent_size = 4 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
25 indent_style = space |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
26 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
27 [*.{xml,svg}] |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
28 # xmllint --nsclean --encode UTF-8 --noent --format - |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
29 indent_size = 2 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
30 indent_style = space |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
31 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
32 [*.yaml] |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
33 indent_size = 2 |
aab0023b51c9
editorconfig: Document established conventions
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
34 indent_style = space |