Skip to content

Commit

Permalink
add editorconfig
Browse files Browse the repository at this point in the history
Signed-off-by: Alice Wasko <[email protected]>
  • Loading branch information
Alice Wasko authored and Alice-Lilith committed Jan 31, 2024
1 parent ed88e54 commit ccb8039
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

; YAML ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[{*.yaml,*.yml}]
indent_style = space
indent_size = 2

; Misc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[{Makefile,*.mk}]
; Makefiles require tabs to work properly and do not work with spaces
indent_style = tab

[*.md]
indent_style = space

0 comments on commit ccb8039

Please sign in to comment.