mirror of
https://github.com/Thavarshan/fetch-php.git
synced 2025-01-17 06:38:16 +01:00
add laravel pint config
This commit is contained in:
parent
e0211949ac
commit
b7833e65ff
45
pint.json
Normal file
45
pint.json
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
"preset": "laravel",
|
||||
"rules": {
|
||||
"no_unused_imports": true,
|
||||
"array_indentation": true,
|
||||
"declare_strict_types": true,
|
||||
"array_syntax": {
|
||||
"syntax": "short"
|
||||
},
|
||||
"blank_line_before_statement": {
|
||||
"statements": [
|
||||
"break",
|
||||
"declare",
|
||||
"return",
|
||||
"throw",
|
||||
"try",
|
||||
"while",
|
||||
"for",
|
||||
"if",
|
||||
"continue",
|
||||
"foreach"
|
||||
]
|
||||
},
|
||||
"braces": {
|
||||
"allow_single_line_anonymous_class_with_empty_body": false,
|
||||
"allow_single_line_closure": false,
|
||||
"position_after_anonymous_constructs": "same",
|
||||
"position_after_control_structures": "same",
|
||||
"position_after_functions_and_oop_constructs": "next"
|
||||
},
|
||||
"cast_spaces": false,
|
||||
"concat_space": {
|
||||
"spacing": "one"
|
||||
},
|
||||
"binary_operator_spaces": {
|
||||
"operators": {
|
||||
"=>": "align_single_space_minimal"
|
||||
}
|
||||
},
|
||||
"ordered_imports": {
|
||||
"sort_algorithm": "length"
|
||||
},
|
||||
"nullable_type_declaration_for_default_null_value": false
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user