Skip to content

Commit

Permalink
Merge pull request #7 from worksome/feature/attributes
Browse files Browse the repository at this point in the history
feat: add EditorConfig and Git Attributes
  • Loading branch information
owenvoke authored Aug 16, 2024
2 parents 7ee5222 + de4a10c commit b9e16d5
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 8 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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
12 changes: 10 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
.gitattributes export-ignore
.gitignore export-ignore
* 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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
vendor
composer.lock
composer.lock
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
{
"name": "worksome/foggy-laravel",
"description": "Adds Foggy support in Laravel",
"type": "library",
"license": "MIT",
"require": {
"php": "^8.2",
"illuminate/console": "^10.0 || ^11.0",
"illuminate/support": "^10.0 || ^11.0",
"thecodingmachine/safe": "^2.5",
"worksome/foggy": "^0.6"
},
"license": "MIT",
"autoload": {
"psr-4": {
"Worksome\\FoggyLaravel\\": "src/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"laravel": {
"providers": [
"Worksome\\FoggyLaravel\\FoggyServiceProvider"
]
}
},
"config": {
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit b9e16d5

Please sign in to comment.