mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-22 11:19:25 +01:00
initial commit of multiple .editorconfig & .gitattributes files
This commit is contained in:
parent
da21f38b01
commit
58a67d2214
11
.editorconfig
Normal file
11
.editorconfig
Normal file
@ -0,0 +1,11 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
# Future: https://github.com/editorconfig/editorconfig/issues/89
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
charset = utf-8
|
||||
# Accessibility reasons. Vim: :%retab! (note also :set ts=4)
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
#tab_width =
|
5
.gitattributes
vendored
Normal file
5
.gitattributes
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# Line ending normalisatsion
|
||||
* text=auto
|
||||
|
||||
# bash scripts are most likely ran on Linux so they have lf endings
|
||||
*.bash text eol=lf
|
4
bash/.editorconfig
Normal file
4
bash/.editorconfig
Normal file
@ -0,0 +1,4 @@
|
||||
root = false
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
1
bash/.gitattributes
vendored
Normal file
1
bash/.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
* text=auto eol=lf
|
6
python/.editorconfig
Normal file
6
python/.editorconfig
Normal file
@ -0,0 +1,6 @@
|
||||
root = false
|
||||
|
||||
[*]
|
||||
# https://peps.python.org/pep-0008/#indentation
|
||||
indent_style = space
|
||||
indent_size = 4
|
9
ruby/.editorconfig
Normal file
9
ruby/.editorconfig
Normal file
@ -0,0 +1,9 @@
|
||||
root = false
|
||||
|
||||
[*]
|
||||
# Unofficial Ruby Style guide says two spaces, but Wikipedia says it doesn't
|
||||
# matter so I am going accessibility first and having this commented
|
||||
# which will lead editors looking at ../.editorconfig
|
||||
# https://rubystyle.guide/#spaces-indentation
|
||||
#indent_style = space
|
||||
#indent_size = 2
|
Loading…
Reference in New Issue
Block a user