Koha/.editorconfig
Johanna Raisa b3adc5de90 Bug 27375: Set YAML file settings in .editorconfig
To test:
1) Start an editor that supports .editorconfig.
2) Open YAML file mappings.yaml for example.
3) Format the file.
4) Observe that nothing changes.

Sponsored-by: Koha-Suomi Oy

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-03 15:40:52 +01:00

19 lines
355 B
INI

# top-most EditorConfig file (http://editorconfig.org)
root = true
[*]
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true
# 4 space indentation
indent_style = space
indent_size = 4
# New files charset should be UTF-8
charset = utf-8
[*.json]
indent_size = 2
[*.yaml]
indent_size = 2
quote_type = single