From 3d4ea7d6f3f246a4d5a24a8a96fe86e7cf3e2de9 Mon Sep 17 00:00:00 2001 From: ADmad Date: Sat, 27 Jan 2024 17:56:51 +0530 Subject: [PATCH] Add .editorconfig --- .editorconfig | 14 ++++++++++++++ .gitattributes | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..c5f4ac7f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +; This file is for unifying the coding style for different editors and IDEs. +; More information at http://editorconfig.org + +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{yml,yaml}] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes index 8d23bd81..9b466650 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,7 +3,8 @@ /.github export-ignore /.gitattributes export-ignore /.gitignore export-ignore -/.php_cs.dist export-ignore +/.editorconfig export-ignore +/.php-cs-fixer.dist.php export-ignore /docs export-ignore /phpunit.xml.dist export-ignore /psalm.xml export-ignore