Skip to content

Commit

Permalink
build: enforce LF and update .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Apr 13, 2022
1 parent b7b7e6b commit 26c093c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# editorconfig.org

root = true

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

[*.md]
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Enforce Unix newlines
* text=auto eol=lf

0 comments on commit 26c093c

Please sign in to comment.