diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0179474 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.gitattributes b/.gitattributes index 2d4d0de..105f811 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 -*.sum linguist-generated -*.toml linguist-detectable -*.yml linguist-language=YAML -*.yaml linguist-detectable +*.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 diff --git a/.gitignore b/.gitignore index 6811c26..2528a81 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -# .gitignore - idea/* /main result*