-
-
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.
feat: Added base configuration for EditorConfig
Closes #10
- Loading branch information
Showing
1 changed file
with
107 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,107 @@ | ||
# Copyright © 2023 MDSANIMA | ||
|
||
# https://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 79 | ||
trim_trailing_whitespace = true | ||
|
||
[*.cmd] | ||
indent_size = 4 | ||
indent_style = space | ||
|
||
[*.css] | ||
indent_size = 4 | ||
indent_style = space | ||
max_line_length = 120 | ||
|
||
[*.html] | ||
indent_size = 2 | ||
indent_style = space | ||
max_line_length = off | ||
|
||
[*.js] | ||
indent_size = 2 | ||
indent_style = space | ||
max_line_length = 120 | ||
|
||
[*.jsx] | ||
indent_size = 2 | ||
indent_style = space | ||
max_line_length = 120 | ||
|
||
[*.json] | ||
indent_size = 2 | ||
indent_style = space | ||
end_of_line = lf | ||
|
||
[*.md] | ||
indent_size = 2 | ||
indent_style = space | ||
|
||
[*.ps1] | ||
indent_size = 4 | ||
indent_style = space | ||
|
||
[*.py] | ||
profile = black | ||
indent_size = 4 | ||
indent_style = space | ||
max_line_length = 120 | ||
|
||
[*.sh] | ||
indent_size = 4 | ||
indent_style = space | ||
|
||
[*.svg] | ||
insert_final_newline = false | ||
|
||
[*.ts] | ||
indent_size = 2 | ||
indent_style = space | ||
max_line_length = 120 | ||
|
||
[*.tsx] | ||
indent_size = 2 | ||
indent_style = space | ||
max_line_length = 120 | ||
|
||
[*.yml] | ||
indent_size = 2 | ||
indent_style = space | ||
max_line_length = off | ||
|
||
[*.zsh] | ||
indent_size = 4 | ||
indent_style = space | ||
|
||
[.bashrc] | ||
indent_size = 4 | ||
indent_style = space | ||
|
||
[.gitconfig] | ||
indent_size = 4 | ||
indent_style = tab | ||
|
||
[.zshrc] | ||
indent_size = 4 | ||
indent_style = space | ||
|
||
[Makefile] | ||
indent_size = 4 | ||
indent_style = tab | ||
|
||
[nginx.conf] | ||
indent_size = 4 | ||
indent_style = space | ||
|
||
[pyproject.toml] | ||
indent_size = 4 | ||
indent_style = space |