Skip to content

Commit

Permalink
style: init .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Jun 18, 2024
1 parent 018f878 commit 847dec2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# editorconfig.org
root = true

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

# TypeScript and JavaScript files
[*.{ts,tsx,js,jsx}]
indent_size = 2
quote_type = single

0 comments on commit 847dec2

Please sign in to comment.