Skip to content

Indentation broken when "vue/max-attributes-per-line" reformats line #8

@sid-6581

Description

@sid-6581

When vue/max-attributes-per-line reformats the line, the attributes end up completely unindented:

  a(href="link" @click="click")

becomes:

  a(
href="link"
@click="click")

when ideally it should be:

  a(
    href="link"
    @click="click"
  )

I'm not sure if this plugin alone is enough to lint things like indentation for the pug templates in SFCs? I know I can use prettier/plugin-pug with prettier, but I would prefer to avoid prettier altogether and rely on just eslint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions