feat: add .editorconfig, update attributes and ignore

This commit is contained in:
koru 2026-06-13 15:12:20 +00:00 committed by nekohepott
parent b7ff9215a2
commit 04e3749434
No known key found for this signature in database
3 changed files with 24 additions and 13 deletions

14
.editorconfig Normal file
View 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
View File

@ -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
View File

@ -1,5 +1,3 @@
# .gitignore
idea/*
/main
result*