Skip to content

conflict with vetur prettyhtml #704

Closed
@francoisromain

Description

@francoisromain

Tell us about your environment

  • ESLint version: 5.9.0
  • eslint-plugin-vue version: 5.0.0
  • Node version: 11.3.0

Please show your full configuration:

"eslintConfig": {
    "root": true,
    "env": {
      "node": true
    },
    "extends": [
      "plugin:vue/recommended",
      "standard",
      "prettier",
      "prettier/standard"
    ],
    "rules": {},
    "parserOptions": {
      "parser": "babel-eslint"
    }
}

What did you expect to happen?
The problem is:

  • Prettyhtml does not put space before />:
  • eslint-plugin-vue wants a space before /> and actually have a autofix for it
  • They cannot agree on a format.

please see this issue: vuejs/vetur#994 (comment)

thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions