wiki.techinc.nl/.editorconfig
Timo Tijhof d7a8361ea1 build: Exclude .git/** in .editorconfig
* Without this, editors like Sublime or Atom when using an EditorConfig
  plugin, they will change e.g. two spaces in a commit message (such
  as the second line in a bullet list item) to a tab upon saving
  the commit message.

Change-Id: Ie0c5e1fcfe7853a737c1ccf1880052660f4171e2
2022-06-22 01:53:33 +01:00

26 lines
487 B
INI

root = true
[*]
indent_style = tab
indent_size = tab
tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Ensure text editors don't turn leading spaces into tabs,
# e.g. in multi-line bullet list items
[*.md]
indent_style = space
indent_size = 2
# Tabs may not be valid YAML
# @see https://yaml.org/spec/1.2/spec.html#id2777534
[*.{yml,yaml}]
indent_style = space
indent_size = 2
[.git/**]
indent_style = space
indent_size = 2