Skip to content

Commit

Permalink
feat: Added base configuration for EditorConfig
Browse files Browse the repository at this point in the history
Closes #10
  • Loading branch information
mdsanima committed Jan 6, 2024
1 parent 404307b commit b6cbcec
Showing 1 changed file with 107 additions and 0 deletions.
107 changes: 107 additions & 0 deletions .editorconfig
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

0 comments on commit b6cbcec

Please sign in to comment.