toolv1.0.0
pint-config
Laravel Pint formatter configuration matching modern Laravel defaults
pintphplaravelformattinglinting
Install
$npx autoskills --items pint-config
Or scan + install everything matching your stack with npx autoskills.
Source
View on GitHub{
"preset": "laravel",
"rules": {
"array_indentation": true,
"array_syntax": { "syntax": "short" },
"binary_operator_spaces": { "default": "single_space" },
"blank_line_after_namespace": true,
"blank_line_after_opening_tag": true,
"blank_line_before_statement": {
"statements": ["break", "continue", "declare", "return", "throw", "try"]
},
"concat_space": { "spacing": "one" },
"declare_strict_types": true,
"function_typehint_space": true,
"lowercase_cast": true,
"lowercase_keywords": true,
"lowercase_static_reference": true,
"magic_constant_casing": true,
"magic_method_casing": true,
"method_argument_space": { "on_multiline": "ensure_fully_multiline" },
"native_function_casing": true,
"no_alias_functions": true,
"no_blank_lines_after_class_opening": true,
"no_extra_blank_lines": {
"tokens": ["extra", "throw", "use", "use_trait", "curly_brace_block", "parenthesis_brace_block", "square_brace_block"]
},
"no_leading_import_slash": true,
"no_trailing_comma_in_singleline": true,
"no_unused_imports": true,
"ordered_imports": { "sort_algorithm": "alpha" },
"single_quote": true,
"single_trait_insert_per_statement": true,
"trailing_comma_in_multiline": { "elements": ["arrays", "arguments", "parameters"] },
"trim_array_spaces": true,
"visibility_required": ["property", "method", "const"]
}
}