Skip to content

Instantly share code, notes, and snippets.

@chucktrukk
Forked from JustSteveKing/pint.json
Created January 14, 2023 12:57
Show Gist options
  • Save chucktrukk/85c313d21cdcafa02da27b2d5d734928 to your computer and use it in GitHub Desktop.
Save chucktrukk/85c313d21cdcafa02da27b2d5d734928 to your computer and use it in GitHub Desktop.
Laravel Pint configuration
{
"preset": "psr12",
"rules": {
"align_multiline_comment": true,
"array_indentation": true,
"array_syntax": true,
"blank_line_after_namespace": true,
"blank_line_after_opening_tag": true,
"combine_consecutive_issets": true,
"combine_consecutive_unsets": true,
"concat_space": true,
"declare_parentheses": true,
"declare_strict_types": true,
"explicit_string_variable": true,
"final_class": true,
"final_internal_class": false,
"fully_qualified_strict_types": true,
"global_namespace_import": {
"import_classes": true,
"import_constants": true,
"import_functions": true
},
"is_null": true,
"lambda_not_used_import": true,
"logical_operators": true,
"mb_str_functions": true,
"method_chaining_indentation": true,
"modernize_strpos": true,
"new_with_braces": true,
"no_empty_comment": true,
"not_operator_with_space": true,
"ordered_traits": true,
"protected_to_private": true,
"simplified_if_return": true,
"strict_comparison": true,
"ternary_to_null_coalescing": true,
"trim_array_spaces": true,
"use_arrow_functions": true,
"void_return": true,
"yoda_style": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment