-
Notifications
You must be signed in to change notification settings - Fork 161
/
pint.json
26 lines (26 loc) · 983 Bytes
/
pint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"preset": "laravel",
"rules": {
"simplified_null_return": true,
"braces": {
"allow_single_line_anonymous_class_with_empty_body": true,
"allow_single_line_closure": true,
"position_after_control_structures": "same",
"position_after_functions_and_oop_constructs": "same",
"position_after_anonymous_constructs": "same"
},
"curly_braces_position": {
"control_structures_opening_brace": "same_line",
"functions_opening_brace": "same_line",
"anonymous_functions_opening_brace": "same_line",
"classes_opening_brace": "same_line",
"anonymous_classes_opening_brace": "same_line",
"allow_single_line_empty_anonymous_classes": true,
"allow_single_line_anonymous_functions": true
},
"new_with_braces": {
"anonymous_class": false,
"named_class": false
}
}
}