Skip to content

Commit

Permalink
chore: Add configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
oBusk committed Mar 14, 2020
1 parent 5abb2fc commit fb63a6c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 4
max_line_length = 80
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization, Checkout as LF since editorconfig/prettier expects that.
* text=auto eol=LF
3 changes: 3 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"trailingComma": "all"
}

0 comments on commit fb63a6c

Please sign in to comment.