From 90487963faa75703cc8a96009d049a213ea8c294 Mon Sep 17 00:00:00 2001 From: antograssiot Date: Wed, 11 Feb 2015 18:13:16 +0100 Subject: [PATCH 1/4] add a gitattributes to the repo --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..4c45d6e15 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +# Define the line ending behavior of the different file extensions +# Set default behaviour, in case users don't have core.autocrlf set. +* text=auto +* text eol=lf \ No newline at end of file From 05ea35a7414b199eb0021b1a1663384ea80e32c8 Mon Sep 17 00:00:00 2001 From: antograssiot Date: Wed, 11 Feb 2015 18:13:53 +0100 Subject: [PATCH 2/4] add git files to Plugin template --- src/Template/Bake/Plugin/.gitattributes | 4 ++++ src/Template/Bake/Plugin/.gitignore | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 src/Template/Bake/Plugin/.gitattributes create mode 100644 src/Template/Bake/Plugin/.gitignore diff --git a/src/Template/Bake/Plugin/.gitattributes b/src/Template/Bake/Plugin/.gitattributes new file mode 100644 index 000000000..4c45d6e15 --- /dev/null +++ b/src/Template/Bake/Plugin/.gitattributes @@ -0,0 +1,4 @@ +# Define the line ending behavior of the different file extensions +# Set default behaviour, in case users don't have core.autocrlf set. +* text=auto +* text eol=lf \ No newline at end of file diff --git a/src/Template/Bake/Plugin/.gitignore b/src/Template/Bake/Plugin/.gitignore new file mode 100644 index 000000000..bc959c533 --- /dev/null +++ b/src/Template/Bake/Plugin/.gitignore @@ -0,0 +1,3 @@ +/composer.lock +/phpunit.xml +/vendor From 73384792c29bb9b4419d8076e18e6ee680e5f888 Mon Sep 17 00:00:00 2001 From: antograssiot Date: Wed, 11 Feb 2015 18:24:36 +0100 Subject: [PATCH 3/4] add indentation definition for yml files --- .editorconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index a9411c6b8..255d35921 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,3 +10,7 @@ indent_style = space indent_size = 4 insert_final_newline = true trim_trailing_whitespace = true + +[*.yml] +indent_style = space +indent_size = 2 \ No newline at end of file From 7b7183d84196fdb795095d69ba672af1efed86b1 Mon Sep 17 00:00:00 2001 From: antograssiot Date: Wed, 11 Feb 2015 18:24:36 +0100 Subject: [PATCH 4/4] add missing final new line --- .editorconfig | 2 +- .gitattributes | 2 +- src/Template/Bake/Plugin/.gitattributes | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 255d35921..8eb4b0795 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,4 +13,4 @@ trim_trailing_whitespace = true [*.yml] indent_style = space -indent_size = 2 \ No newline at end of file +indent_size = 2 diff --git a/.gitattributes b/.gitattributes index 4c45d6e15..2e9e7319d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,4 @@ # Define the line ending behavior of the different file extensions # Set default behaviour, in case users don't have core.autocrlf set. * text=auto -* text eol=lf \ No newline at end of file +* text eol=lf diff --git a/src/Template/Bake/Plugin/.gitattributes b/src/Template/Bake/Plugin/.gitattributes index 4c45d6e15..2e9e7319d 100644 --- a/src/Template/Bake/Plugin/.gitattributes +++ b/src/Template/Bake/Plugin/.gitattributes @@ -1,4 +1,4 @@ # Define the line ending behavior of the different file extensions # Set default behaviour, in case users don't have core.autocrlf set. * text=auto -* text eol=lf \ No newline at end of file +* text eol=lf