Skip to content

Commit

Permalink
Add .editorconfig to repo.
Browse files Browse the repository at this point in the history
This will enforce some editors to respect format of some files.
  • Loading branch information
SpacingBat3 committed May 2, 2024
1 parent dfb18b3 commit a0ba944
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 @@
root = true

[*.{ts,json}]
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = false

[package{,-lock}.json]
insert_final_newline = true

[tsconfig.json]
indent_size = 4

0 comments on commit a0ba944

Please sign in to comment.