Skip to content

Commit ffb8bce

Browse files
add pint config
1 parent d67c555 commit ffb8bce

2 files changed

Lines changed: 48 additions & 7 deletions

File tree

pint.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"preset": "laravel",
3+
"rules": {
4+
"blank_line_between_import_groups": true,
5+
"concat_space": {
6+
"spacing": "one"
7+
},
8+
"class_attributes_separation": {
9+
"elements": {
10+
"method": "one"
11+
}
12+
},
13+
"curly_braces_position": {
14+
"control_structures_opening_brace": "same_line",
15+
"functions_opening_brace": "next_line_unless_newline_at_signature_end",
16+
"anonymous_functions_opening_brace": "same_line",
17+
"classes_opening_brace": "next_line_unless_newline_at_signature_end",
18+
"anonymous_classes_opening_brace": "next_line_unless_newline_at_signature_end",
19+
"allow_single_line_empty_anonymous_classes": true,
20+
"allow_single_line_anonymous_functions": false
21+
},
22+
"explicit_string_variable": true,
23+
"global_namespace_import": {
24+
"import_classes": true,
25+
"import_constants": true,
26+
"import_functions": true
27+
},
28+
"new_with_braces": {
29+
"named_class": false,
30+
"anonymous_class": false
31+
},
32+
"ordered_imports": {
33+
"sort_algorithm": "alpha",
34+
"imports_order": ["const", "class", "function"]
35+
},
36+
"php_unit_test_annotation": {
37+
"style": "annotation"
38+
},
39+
"simple_to_complex_string_variable": true
40+
}
41+
}

resources/views/components/layouts/app/sidebar.blade.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ class="border-e border-zinc-200 bg-zinc-50 dark:border-zinc-700 dark:bg-zinc-900
1111
>
1212
<flux:sidebar.toggle class="lg:hidden" icon="x-mark" />
1313

14-
<a
15-
href="{{ route('dashboard') }}"
16-
class="me-5 flex items-center space-x-2 rtl:space-x-reverse"
17-
wire:navigate
18-
>
19-
<x-app-logo />
20-
</a>
14+
{{-- <a --}}
15+
{{-- href="{{ route('dashboard') }}" --}}
16+
{{-- class="me-5 flex items-center space-x-2 rtl:space-x-reverse" --}}
17+
{{-- wire:navigate --}}
18+
{{-- > --}}
19+
{{-- <x-app-logo /> --}}
20+
{{-- </a> --}}
2121

2222
<flux:navlist variant="outline">
2323
<flux:navlist.group :heading="__('Platform')" class="grid">

0 commit comments

Comments
 (0)