29 lines
604 B
INI
29 lines
604 B
INI
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
|
|
max_line_length = 80
|
|
|
|
[**.{js,jsx,ts,tsx}]
|
|
indent_size = 2
|
|
|
|
[**.{yml,yaml,publicodes}]
|
|
# Spaces are mandatory for yaml files:
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.md]
|
|
indent_style = space
|
|
indent_size = 4
|
|
trim_trailing_whitespace = false
|
|
|
|
[package.json]
|
|
# it is painful to write scripts with a fixed max_line_length
|
|
max_line_length=0
|