Skip to content

Commit

Permalink
feat: added editorconfig (#1492)
Browse files Browse the repository at this point in the history
  • Loading branch information
takshakmudgal authored Jan 28, 2024
1 parent 6a495ef commit a650fc7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Top-most EditorConfig file
root = true

# Set the indentation style and size for TypeScript and JavaScript files
[*.{js,ts,tsx}]
indent_style = space
indent_size = 2

# Specify indentation for JSX and React files
[*.{jsx,tsx}]
indent_size = 2

# Specify line endings and encoding
end_of_line = lf
charset = utf-8

# Enforce whitespace conventions
trim_trailing_whitespace = true
insert_final_newline = true

0 comments on commit a650fc7

Please sign in to comment.