Open
Description
Info
Tool | Version |
---|---|
Plugin | v3.x.x |
Prettier | v3.x.x |
Framework | none,vue,angular,svelte |
Node | vx.x.x |
OS | win,linux,mac |
Prettier config
{
"plugins": ["prettier-plugin-tailwindcss", "@prettier/plugin-pug"],
"pugSortAttributes": "asc",
"pugWrapAttributesThreshold": 4,
"pugPreserveAttributeBrackets": true,
"arrowParens": "always",
"pugSingleQuote": false,
"pugAttributeSeparator": "none",
"semi": false,
"singleQuote": true,
"tabWidth": 4,
"useTabs": true
}
Input
div(
:value!=attributes['data-value']
)
Output or Error
:value!=attributes[\'data-value\']
Expected Output
:value!=attributes['data-value']