Skip to content

Bug: unnecessary slashes #531

Open
Open
@kcap

Description

@kcap

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']

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWe are looking for community help

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions