Skip to content

Instantly share code, notes, and snippets.

@saeedvir
Created February 10, 2024 07:29
Show Gist options
  • Save saeedvir/91943931910f56de6707989057ff9f84 to your computer and use it in GitHub Desktop.
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)
{
"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