2020-04-28 13:14:20 +00:00
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
|
|
|
charset = utf-8
|
|
|
|
end_of_line = lf
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
# We shall not define indent_size ⬇️ when using tabs.
|
|
|
|
# tab_width doesn't make much sense as it can be left to the reader to decide.
|
|
|
|
indent_style = tab
|
|
|
|
insert_final_newline = true
|
2021-07-01 16:25:50 +00:00
|
|
|
max_line_length = 80
|
2020-04-28 13:14:20 +00:00
|
|
|
|
|
|
|
[**.{js,jsx,ts,tsx}]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[**.{yml,yaml}]
|
|
|
|
# Spaces are mandatory for yaml files:
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[*.md]
|
2020-11-17 10:43:38 +00:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2021-07-01 16:25:50 +00:00
|
|
|
trim_trailing_whitespace = false
|
2021-05-05 11:55:59 +00:00
|
|
|
|