mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
chore: stricter pint rules
This commit is contained in:
parent
16b2e8436e
commit
e535496a1e
30 changed files with 134 additions and 83 deletions
34
pint.json
Normal file
34
pint.json
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"preset": "laravel",
|
||||
"rules": {
|
||||
"array_push": true,
|
||||
"backtick_to_shell_exec": true,
|
||||
"date_time_immutable": true,
|
||||
"lowercase_keywords": true,
|
||||
"lowercase_static_reference": true,
|
||||
"final_internal_class": true,
|
||||
"final_public_method_for_abstract_class": true,
|
||||
"fully_qualified_strict_types": true,
|
||||
"global_namespace_import": {
|
||||
"import_classes": true,
|
||||
"import_constants": true,
|
||||
"import_functions": true
|
||||
},
|
||||
"mb_str_functions": true,
|
||||
"modernize_types_casting": true,
|
||||
"new_with_parentheses": false,
|
||||
"no_superfluous_elseif": true,
|
||||
"no_useless_else": true,
|
||||
"no_multiple_statements_per_line": true,
|
||||
"ordered_interfaces": true,
|
||||
"ordered_traits": true,
|
||||
"protected_to_private": true,
|
||||
"self_accessor": true,
|
||||
"self_static_accessor": true,
|
||||
"strict_comparison": true,
|
||||
"visibility_required": true,
|
||||
"increment_style": {
|
||||
"style": "pre"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue