feat: add .editorconfig, update attributes and ignore
This commit is contained in:
parent
b7ff9215a2
commit
04e3749434
14
.editorconfig
Normal file
14
.editorconfig
Normal file
@ -0,0 +1,14 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 4
|
||||
indent_style = tab
|
||||
insert_final_newline = true
|
||||
max_line_length = 120
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[{*.{json,jsonc},*.sh,*.{yaml,yml},PKGBUILD,*.nix}]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
11
.gitattributes
vendored
11
.gitattributes
vendored
@ -1,15 +1,14 @@
|
||||
# .gitattributes
|
||||
|
||||
# Aliases
|
||||
[attr]lfs filter=lfs diff=lfs merge=lfs -text
|
||||
# EOL
|
||||
|
||||
* text=auto eol=lf
|
||||
# LFS
|
||||
*.png lfs
|
||||
# Stats
|
||||
*.git* linguist-language=Shell
|
||||
*.json linguist-detectable
|
||||
*.jsonc linguist-language=JSON
|
||||
*.sum linguist-generated
|
||||
*.toml linguist-detectable
|
||||
*.yml linguist-language=YAML
|
||||
*.yaml linguist-detectable
|
||||
flake.lock linguist-language=JSON linguist-generated
|
||||
/vendor/* linguist-vendored
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,3 @@
|
||||
# .gitignore
|
||||
|
||||
idea/*
|
||||
/main
|
||||
result*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user