The RuntimeConfig object defines the formatting rules for blade-formatter. Below are the available configuration keys and their allowed values.
```json
{
"indentSize": 4,
"wrapLineLength": 80,
"wrapAttributes": "auto",
"wrapAttributesMinAttrs": 2,
"indentInnerHtml": true,
"endWithNewline": true,
"endOfLine": "LF",
"useTabs": false,
"sortTailwindcssClasses": true,
"tailwindcssConfigPath": "/path/to/tailwind.config.js",
"sortHtmlAttributes": "alphabetical",
"customHtmlAttributesOrder": ["id", "class"],
"noMultipleEmptyLines": true,
"noPhpSyntaxCheck": true,
"noSingleQuote": true,
"noTrailingCommaPhp": true,
"extraLiners": ["head", "body", "/html"],
"componentPrefix": ["x-", "livewire:"]
}
Attribute Wrapping (wrapAttributes)
Options:
"auto""force""force-aligned""force-expand-multiline""aligned-multiple""preserve""preserve-aligned"
HTML Attribute Sorting (sortHtmlAttributes)
Options:
"none""alphabetical""code-guide""idiomatic""vuejs""custom" (requires customHtmlAttributesOrder)
Line Endings (endOfLine)
Options: