-
-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
framework: VueRelated to the framework VueRelated to the framework Vuetype: bugFunctionality that does not work as intended/expectedFunctionality that does not work as intended/expected
Description
Plugin Version
v2.3.0
Prettier Version
v2.7.1
Which frameworks are affected?
- none
- vue
- angular
- svelte
Node Version
v18.12.0
Which operating systems have you used?
- Linux
- macOS
- Windows
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: !!selectedTopicExpected 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
Metadata
Metadata
Assignees
Labels
framework: VueRelated to the framework VueRelated to the framework Vuetype: bugFunctionality that does not work as intended/expectedFunctionality that does not work as intended/expected