Created
February 10, 2024 07:29
-
-
Save saeedvir/91943931910f56de6707989057ff9f84 to your computer and use it in GitHub Desktop.
laravel pint.json file example (install pint and create pint.json in your roject)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"preset": "laravel", | |
"exclude": [ | |
"storage", | |
"bootstrap/cache" | |
], | |
"rules": { | |
"concat_space": { | |
"spacing": "one" | |
}, | |
"new_with_braces": { | |
"anonymous_class": false, | |
"named_class": false | |
}, | |
"ordered_imports": { | |
"sort_algorithm": "length" | |
}, | |
"ordered_traits": true, | |
"return_type_declaration": { | |
"space_before": "one" | |
}, | |
"yoda_style": true, | |
"use_arrow_functions": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment