mirror of
https://github.com/GradienceTeam/Docs.git
synced 2024-09-08 01:42:32 +00:00
code-style: add .editorconfig and update .gitignore
This commit is contained in:
parent
aa566050f8
commit
fc34ed6fc6
2 changed files with 20 additions and 0 deletions
19
.editorconfig
Normal file
19
.editorconfig
Normal file
|
@ -0,0 +1,19 @@
|
|||
# EditorConfig helps developers define and maintain consistent
|
||||
# coding styles between different editors and IDEs
|
||||
# editorconfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[*.css]
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
venv/
|
||||
_build/
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
|
|
Loading…
Reference in a new issue