← All code files

.editorconfig

Consistent whitespace across editors and languages.

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.{py,go}]
indent_size = 4

[*.md]
trim_trailing_whitespace = false

About this tool

Consistent whitespace across editors and languages.

Ready-to-use .editorconfig — view the content, copy it, or download it with the correct filename. Free and 100% in your browser.