prettier-plugin-laravel-blade 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/blade-formatter.js +2654 -2408
- package/package.json +1 -1
- package/src/index.mjs +53 -2
package/README.md
CHANGED
|
@@ -63,6 +63,8 @@ Or configure in `.prettierrc`:
|
|
|
63
63
|
| `bladeQuoteStyle` | `"preserve"` | `single`, `double`, `preserve` | Quote style for HTML attributes |
|
|
64
64
|
| `bladeDirectiveSpacing` | `"between_blocks"` | `between_blocks`, `none`, `preserve` | Spacing between directive blocks |
|
|
65
65
|
| `bladeSlotFormatting` | `"compact"` | `compact`, `block` | Formatting style for component slots |
|
|
66
|
+
| `bladeSlotNameStyle` | `"colon"` | `colon`, `attribute`, `preserve` | Slot name syntax (colon vs attribute) |
|
|
67
|
+
| `bladeSlotSpacing` | `"after"` | `none`, `after`, `before`, `around` | Blank lines around slot elements |
|
|
66
68
|
| `bladeWrapAttributes` | `"auto"` | `auto`, `always`, `never` | When to wrap attributes to multiple lines |
|
|
67
69
|
| `bladeAttributeSort` | `"none"` | `none`, `alphabetical`, `by_type` | How to sort HTML attributes |
|
|
68
70
|
| `bladeClosingBracketStyle` | `"same_line"` | `same_line`, `new_line` | Closing bracket position when attributes wrap |
|