diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..95e7595 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +; This file is for unifying the coding style for different editors and IDEs. +; More information at https://editorconfig.org + +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 index d1564d7..83f5ea0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,10 @@ -.gitattributes export-ignore -.gitignore export-ignore \ No newline at end of file +* text=auto + +# Path-based git attributes +# https://git-scm.com/docs/gitattributes + +# Ignore all test and documentation with "export-ignore". +/.editorconfig export-ignore +/.gitattributes export-ignore +/.github export-ignore +/.gitignore export-ignore diff --git a/.gitignore b/.gitignore index 88e99d5..7579f74 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ vendor -composer.lock \ No newline at end of file +composer.lock diff --git a/composer.json b/composer.json index 3bb6b14..e668325 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "worksome/foggy-laravel", "description": "Adds Foggy support in Laravel", - "type": "library", + "license": "MIT", "require": { "php": "^8.2", "illuminate/console": "^10.0 || ^11.0", @@ -9,12 +9,14 @@ "thecodingmachine/safe": "^2.5", "worksome/foggy": "^0.6" }, - "license": "MIT", "autoload": { "psr-4": { "Worksome\\FoggyLaravel\\": "src/" } }, + "config": { + "sort-packages": true + }, "extra": { "laravel": { "providers": [ @@ -22,9 +24,6 @@ ] } }, - "config": { - "sort-packages": true - }, "minimum-stability": "dev", "prefer-stable": true }