Skip to content

Commit

Permalink
build: add .editorconfig for viewing files on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
darthtrevino committed Aug 19, 2019
1 parent 0507b20 commit a5aaed9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Note:
# The code in this project is formatted with Prettier. However, we can use an .editorconfig file
# to customize how GitHub presents source code files.
#
root = true

[*]
end_of_line = lf
insert_final_newline = true

# Matches multiple files with brace expansion notation
[*.{ts,tsx,js,jsx}]
charset = utf-8
indent_style = tab
indent_size = 2
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

0 comments on commit a5aaed9

Please sign in to comment.