plexsystems / vscode-protolint

A protobuf linter for visual studio code
MIT License
52 stars 14 forks source link
linter protobuf protobuf3 vscode

vscode-protolint License GitHub release

vscode-protolint is a protocol buffer linter for Visual Studio Code that uses protolint to validate linting rules.

Example

Using the following .protolint.yaml configuration file

lint:
  rules:
    no_default: true

    add:
      - MESSAGE_NAMES_UPPER_CAMEL_CASE
      - SERVICE_NAMES_UPPER_CAMEL_CASE

protobuflintexample

Installation

This extension can be installed through the Visual Studio marketplace. Alternatively, a VSIX installer is available on the releases page.

Also ensure that:

Configuration

Local Development

Before running any of the below commands, make sure you have installed the required dependencies with npm install