# top-most EditorConfig file root = true # Unix-style newlines with a newline ending every file [*] end_of_line = lf insert_final_newline = true charset = utf-8 trim_trailing_whitespace = true [*.py] indent_style = space indent_size = 4 [*.{php}] indent_style = space indent_size = 2 [*.{css,sass,scss}] indent_style = space indent_size = 2 # https://google.github.io/styleguide/htmlcssguide.html [*.{html}] indent_style = space indent_size = 2 [*.{diff,md}] trim_trailing_whitespace = false [*.{js,ts}] indent_style = tab indent_size = 4 [{*.go,go.mod,go.sum}] indent_style = tab indent_size = 8 [Makefile] indent_style = tab indent_size = 4 [*.json] indent_style = space indent_size = 4 [*.{yml,yaml}] indent_style = space indent_size = 4 [{*.md,*.txt}] indent_style = space indent_size = 2 trim_trailing_whitespace = false insert_final_newline = false