]> arthur.barton.de Git - ansible-collection-boilerplate.git/blob - .editorconfig
Add a bit more documentation
[ansible-collection-boilerplate.git] / .editorconfig
1 # .editorconfig: Editor settings, see <https://editorconfig.org>.
2
3 # top-most EditorConfig file
4 root = true
5
6 # Defaults for all file types:
7
8 [*]
9 # Use UTF-8 encoding.
10 charset = utf-8
11 # Unix-style newlines.
12 end_of_line = lf
13 # Files should end with a newline.
14 insert_final_newline = true
15 # Remove whitespace characters preceding newline characters.
16 trim_trailing_whitespace = true
17
18 # File type specific settings follow:
19
20 [{bin/*,Makefile*,*.sh}]
21 # Tab indentation (8 characters wide).
22 indent_style = tab
23 indent_size = 8
24
25 [*.{json,md}]
26 # 4 space indentation.
27 indent_style = space
28 indent_size = 4
29
30 [*.{yaml,yml}]
31 # 2 space indentation.
32 indent_style = space
33 indent_size = 2