Skip to content

prettier-eslint failed when there is no local version #1202

Open
@melan0802

Description

@melan0802
  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: Win
  • Vetur version: 0.18.1
  • VS Code version: 1.33.1

Problem

There is no err msg from Vue Language Server Output.

If there is no local version prettier-eslint, and extend in .eslintrc, the prettier-eslint in vetur won't work as expect.

Reproducible Case

  1. prettier-eslint and work directory locate at totally diffrent directory
  2. there is a extend: ["standard"] in .eslintrc

It seems like eslint try to lookup standard config by __dirname but prettier-eslint and work directory in totally diffrent directory

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions