Skip to content

Commit

Permalink
feat: add editorconfig for js and yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra committed Jul 4, 2023
1 parent 80a5658 commit 0e588c5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,jsx,ts,tsx,json,yaml}]
charset = utf-8
indent_style = space
indent_size = 2


# Tab indentation (no size specified)
[Makefile]
indent_style = tab

0 comments on commit 0e588c5

Please sign in to comment.