-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
814a3df
commit 60aa1ef
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. | ||
# More information at https://editorconfig.org | ||
|
||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true | ||
|
||
# Matches multiple files with brace expansion notation | ||
# Set default charset | ||
[*.{js,ts,jsx,tsx,html,css,scss,json,yml,yaml,md}] | ||
charset = utf-8 | ||
|
||
# 4 space indentation for TypeScript files | ||
[*.ts] | ||
indent_size = 4 | ||
|
||
# 2 space indentation for YAML files | ||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
# 2 space indentation for JSON files | ||
[*.json] | ||
indent_size = 2 | ||
|
||
# 2 space indentation for Markdown files | ||
[*.md] | ||
indent_size = 2 | ||
|
||
# 2 space indentation for HTML files | ||
[*.html] | ||
indent_size = 2 | ||
|
||
# 2 space indentation for CSS and SCSS files | ||
[*.{css,scss}] | ||
indent_size = 2 |