Plugin Version
v2.3.0
Prettier Version
v2.7.1
Which frameworks are affected?
Node Version
v18.12.0
Which operating systems have you used?
Prettier config
{
"printWidth": 80,
"semi": false,
"singleQuote": true,
"quoteProps": "consistent",
"arrowParens": "avoid",
"trailingComma": "none",
"pugSingleQuote": false,
"pugAttributeSeparator": "none",
"pugCommentPreserveSpaces": "trim-all",
"pugWrapAttributesThreshold": 1,
"pugWrapAttributesPattern": "^(@|v-)"
}
Input
.topic(
v-for="topic in topics"
v-delayed-unhide="{ disabled: !!selectedTopic }"
)
Output or Error
The following expression could not be formatted correctly. Please try to fix it yourself and if there is a problem, please open a bug issue: disabled: !!selectedTopic
Expected Output
The plugin should be able to handle the correct JS input in the custom directive's value and should not complain about it.
Additional Context
No response
Plugin Version
v2.3.0
Prettier Version
v2.7.1
Which frameworks are affected?
Node Version
v18.12.0
Which operating systems have you used?
Prettier config
{ "printWidth": 80, "semi": false, "singleQuote": true, "quoteProps": "consistent", "arrowParens": "avoid", "trailingComma": "none", "pugSingleQuote": false, "pugAttributeSeparator": "none", "pugCommentPreserveSpaces": "trim-all", "pugWrapAttributesThreshold": 1, "pugWrapAttributesPattern": "^(@|v-)" }Input
Output or Error
Expected Output
Additional Context
No response