diff options
author | Léa Gris <lea.gris@noiraude.net> | 2022-02-14 13:03:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 13:03:47 +0100 |
commit | 751cc2e792ed69e58505ad19377a4eae4feb22e6 (patch) | |
tree | 8c1528030014efea316dc3c6c1555e460a911cff | |
parent | ace801c00e19bfce7241cb21cccf9b6654514849 (diff) | |
download | GT5-Unofficial-751cc2e792ed69e58505ad19377a4eae4feb22e6.tar.gz GT5-Unofficial-751cc2e792ed69e58505ad19377a4eae4feb22e6.tar.bz2 GT5-Unofficial-751cc2e792ed69e58505ad19377a4eae4feb22e6.zip |
feat(coding standards): add a .editorconfig (#937)
* feat(coding standards): add a .editorconfig
Basics of a coding standard with a .editorconfig file.
Helps contributors to use consistent text encoding, newline and indentation.
See: https://editorconfig.org/
* fix(editorconfig): remove unsupported properties
* fix(editorconfig): remove .gradle from 2-space indentation
-rw-r--r-- | .editorconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..ebbc2b6320 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +# This is the universal Text Editor Configuration +# for all GTNewHorizons projects +# See: https://editorconfig.org/ + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{bat,ini}] +end_of_line = crlf + +[*.{dtd,json,mcmeta,md,sh,svg,xml,xsd,xsl,yaml,yml}] +indent_size = 2 |