From ad25097134b30e311fb813159e0dd44b6266a835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9as=20Lundgren?= <1066486+adevade@users.noreply.github.com> Date: Mon, 15 Jan 2024 10:01:17 +0100 Subject: [PATCH] Update dotfiles (#1349) --- .editorconfig | 15 +++++++++++++++ .gitattributes | 19 +++++++++++++++++++ .gitignore | 19 +++++++++++-------- packages/admin/.gitattributes | 7 +++++++ packages/core/.gitattributes | 7 +++++++ utils/livewire-tables/.gitattributes | 7 +++++++ utils/scout-database-engine/.gitattributes | 6 ++++++ 7 files changed, 72 insertions(+), 8 deletions(-) create mode 100644 .editorconfig create mode 100644 .gitattributes create mode 100644 packages/admin/.gitattributes create mode 100644 packages/core/.gitattributes create mode 100644 utils/livewire-tables/.gitattributes create mode 100644 utils/scout-database-engine/.gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..d5f28a4669 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_size = 4 +indent_style = space +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..2a32f9a50f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,19 @@ +* text=auto eol=lf + +*.blade.php diff=html +*.css diff=css +*.html diff=html +*.md diff=markdown +*.php diff=php + +/.github export-ignore +/docs export-ignore +/packages/**/tests export-ignore +/utils/**/tests export-ignore +/.editorconfig export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/monorepo-builder.php export-ignore +/phpstan.neon.dist export-ignore +/phpunit.xml export-ignore +/pint.json export-ignore diff --git a/.gitignore b/.gitignore index 20283ccc21..cdcd513659 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,15 @@ -/vendor/ -composer.lock -/vendor -.phpunit.result.cache +/.DS_Store +/.fleet /.idea +/.nova +/.phpunit.cache /.vscode -node_modules/ -yarn.lock +/node_modules +/vendor + +.phpunit.result.cache +composer.lock package-lock.json -.DS_Store -.nova phpstan.neon +Thumbs.db +yarn.lock diff --git a/packages/admin/.gitattributes b/packages/admin/.gitattributes new file mode 100644 index 0000000000..7461527da1 --- /dev/null +++ b/packages/admin/.gitattributes @@ -0,0 +1,7 @@ +* text=auto eol=lf + +/.github export-ignore +/tests export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/phpunit.xml export-ignore diff --git a/packages/core/.gitattributes b/packages/core/.gitattributes new file mode 100644 index 0000000000..7461527da1 --- /dev/null +++ b/packages/core/.gitattributes @@ -0,0 +1,7 @@ +* text=auto eol=lf + +/.github export-ignore +/tests export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/phpunit.xml export-ignore diff --git a/utils/livewire-tables/.gitattributes b/utils/livewire-tables/.gitattributes new file mode 100644 index 0000000000..a982359967 --- /dev/null +++ b/utils/livewire-tables/.gitattributes @@ -0,0 +1,7 @@ +* text=auto eol=lf + +/tests export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/phpunit.xml export-ignore +/pint.json export-ignore diff --git a/utils/scout-database-engine/.gitattributes b/utils/scout-database-engine/.gitattributes new file mode 100644 index 0000000000..8462d18200 --- /dev/null +++ b/utils/scout-database-engine/.gitattributes @@ -0,0 +1,6 @@ +* text=auto eol=lf + +/tests export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/phpunit.xml.dist export-ignore