From 36f07cb38bec3dd5000fdd38b8c3595e3d75b4d6 Mon Sep 17 00:00:00 2001 From: Nuryagdy Mustapayev Date: Tue, 21 Mar 2023 21:06:42 +0100 Subject: [PATCH] added .editorconfig --- .editorconfig | 15 +++++++++++++++ .gitattributes | 1 + 2 files changed, 16 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..c01f950c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.php] +indent_style = space +indent_size = 4 + +[*.md] +max_line_length = 80 diff --git a/.gitattributes b/.gitattributes index b3b63df4..0d542e0a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,6 @@ .gitattributes export-ignore .gitignore export-ignore +.editorconfig export-ignore docker-compose.yml export-ignore phpstan.neon export-ignore phpstan-baseline.neon export-ignore