From ed29a652ea5419615fc6c84c928cb93f0f5a275d Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Thu, 5 Aug 2021 23:28:17 +0700 Subject: [PATCH] Added configs. --- .editorconfig | 15 +++++++++++++++ .gitattributes | 11 +++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..77245ac --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +; This file is for unifying the coding style for different editors and IDEs. +; More information at http://editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 4 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..7d94689 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +*.php text eol=lf + +*.png binary +*.jpg binary + +/tests/ export-ignore + +/.editorconfig export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/.php-censor.yml export-ignore