Skip to content

[BUG] api-linter v2.3.1 isn't suported #77

@AlexCannonball

Description

@AlexCannonball

Describe the bug*

The extension doesn't pick up api-linter v2.3.1 and displays an error message:

api-linter is not installed. Follow the instructions here: https://linter.aip.dev/#installation

To Reproduce*

Download api-linter v2.3.1 and make sure it's in the system's PATH and works via api-linter command.

Launch VS Code, open a .proto file, save it. The diagnostics doesn't appear, the error message is displayed.

Expected behavior*

The extension should work with api-linter v2.3.1 and add diagnostics for .proto files.

Platform*

  • OS: Windows 10
  • VS Code 1.115.0
  • Version: 1.2.0

Additional context

Somewhere between v2.0.0. and v2.3.1 the linter began to return exit code 0 instead of 2 for the command

api-linter -h

* means required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions