Skip to content

Instantly share code, notes, and snippets.

@Integralist
Created May 8, 2024 13:44
Show Gist options
  • Save Integralist/92df54bfeb725d3d27943ef533eff922 to your computer and use it in GitHub Desktop.
Save Integralist/92df54bfeb725d3d27943ef533eff922 to your computer and use it in GitHub Desktop.
[Example Editor Config] #editorconfig
root = true
[*]
indent_size = 2
charset = utf-8
end_of_line = lf
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[{Makefile,go.mod,go.sum,*.go,.gitmodules}]
indent_size = 4
indent_style = tab
[*.md]
indent_size = 4
eclint_indent_style = unset
trim_trailing_whitespace = false
[Dockerfile*]
indent_size = 8
indent_style = space
[*.{yml,yaml}]
indent_size = 2
indent_style = space
eclint_indent_style = unset
trim_trailing_whitespace = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment