Add EditorConfig (#166)

This commit is contained in:
Michael Schnerring
2022-07-11 11:17:06 +00:00
committed by GitHub
parent da13a022a3
commit 906bd83751
3 changed files with 24 additions and 2 deletions

17
.editorconfig Normal file
View File

@@ -0,0 +1,17 @@
# EditorConfig is awesome: http://EditorConfig.org
root = true
[*]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{sh,json}]
indent_size = 4
[*.md]
max_line_length = off
trim_trailing_whitespace = false

4
.gitignore vendored
View File

@@ -12,9 +12,9 @@ config.py
auto_config.py
.DS_Store
.idea/
.vscode/
.vscode/*
# IDE resources
.vscode
!.vscode/extensions.json
.idea
Gemfile.lock
.ignore/

5
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,5 @@
{
"recommendations": [
"editorconfig.editorconfig"
]
}