From c343b6527c55c62fe8287e5c3fb31cc2b44fd2de Mon Sep 17 00:00:00 2001 From: thelovekesh Date: Thu, 7 Apr 2022 13:57:45 +0530 Subject: [PATCH 1/3] Add gitignore --- .gitignore | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..842edc7d --- /dev/null +++ b/.gitignore @@ -0,0 +1,28 @@ +### WordPress ### + +# Core +/wordpress/ + +# macOS/IDE +.DS_Store +.idea + +# Log files +*.log +/tests/logs + +# Packages +/vendor/ +/node_modules/ + +# Enviroment +.env + +# Build +assets/build/ + +# PHPCS +phpcs.xml + +# Cache +.phpunit.result.cache From 0176ac41d727693e70225e456dd07323eb781e89 Mon Sep 17 00:00:00 2001 From: thelovekesh Date: Thu, 7 Apr 2022 13:57:57 +0530 Subject: [PATCH 2/3] Add editor config --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..d8c58929 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# This file is for unifying the coding style for different editors and IDEs +# editorconfig.org + +# WordPress Coding Standards +# https://make.wordpress.org/core/handbook/coding-standards/ + +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = tab + +[*.yml] +indent_style = space +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false \ No newline at end of file From affb8777a557d9703f9a3faaeb56542fbcbce085 Mon Sep 17 00:00:00 2001 From: thelovekesh Date: Thu, 7 Apr 2022 14:01:25 +0530 Subject: [PATCH 3/3] Fix newline at EOF --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index d8c58929..a541e47e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -18,4 +18,4 @@ indent_style = space indent_size = 2 [*.md] -trim_trailing_whitespace = false \ No newline at end of file +trim_trailing_whitespace = false