mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-08-14 02:28:06 -07:00
Create .editorconfig
This commit is contained in:
parent
ba76ccf74a
commit
a2d6ec2215
1 changed files with 49 additions and 0 deletions
49
.editorconfig
Normal file
49
.editorconfig
Normal file
|
@ -0,0 +1,49 @@
|
|||
# EditorConfig is awesome: https://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
tab_width = 4
|
||||
# end_of_line = crlf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = false
|
||||
|
||||
# Markdown
|
||||
[*.{md}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
insert_final_newline = true
|
||||
|
||||
# Serialized data
|
||||
[*.{yml,yaml,json,pbtxt}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
insert_final_newline = true
|
||||
|
||||
# Shell script
|
||||
[*.{sh,bash,bashrc,zsh,fish,ksh,csh}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
insert_final_newline = true
|
||||
|
||||
# Python
|
||||
[*.py]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
insert_final_newline = true
|
||||
|
||||
# Environment
|
||||
[*.env]
|
||||
insert_final_newline = false
|
||||
|
||||
# Python requirements
|
||||
[requirements.txt]
|
||||
insert_final_newline = true
|
||||
|
||||
# Dockerfile
|
||||
[Dockerfile]
|
||||
insert_final_newline = true
|
Loading…
Add table
Add a link
Reference in a new issue