0.52.0 • Published 5 months ago

protolint v0.52.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

protolint

Protolint is a go based linter for .proto files for google protobuf und gRPC. It follows the best practices at the protobuf.dev (and ff.). Please note, that this should be a dev-dependency.

The npm package provides a wrapper around the executables protolint and protoc-gen-protolint. During installation process, it will download the binaries matching the version and your operating system and CPU architecture from github.

If your behind a proxy, you can add the PROTOLINT_PROXY environment variable including the HTTP basic authentication information like username and password. NOTE that this will take precedence of the system HTTP_PROXY/HTTPS_PROXY environment variables. If these variables should be used, do not use PROTOLINT_PROXY. If a proxy server is set that should not be used, set PROTOLINT_NO_PROXY to non-zero value.

If your running an airgapped environment, you can add the following environment variables:

PROTOLINT_MIRROR_HOST: The basic url you are using to serve the binaries. Defaults to https://github.com PROTOLINT_MIRROR_REMOTE_PATH: The relative path on the mirror host. Defaults to yoheimuta/protolint/releases/download/

Within the remote path, make sure, that a folder v<version> exists containing the files downloaded from the github releases.

If you are required to authenticate against your mirror, use the following environment variables:

PROTOLINT_MIRROR_USERNAME: The user name. Defaults to an empty string. PROTOLINT_MIRROR_PASSWORD: The password or identifaction token. Defaults to an empty string.

For node based projects, you can add the protobuf configuration to your package.json using a node called protolint.

For more information about protolint, its parameters and command-line arguments refer to the original ReadMe in the github repository.

0.51.0

7 months ago

0.52.0

5 months ago

0.50.3

11 months ago

0.50.4

11 months ago

0.50.1

12 months ago

0.50.2

12 months ago

0.50.0

12 months ago

0.50.5

10 months ago

0.49.8

1 year ago

0.49.7

1 year ago

0.49.6

1 year ago

0.49.4

1 year ago

0.49.1

1 year ago

0.49.2

1 year ago

0.49.3

1 year ago

0.49.0

1 year ago

0.48.0

1 year ago

0.47.6

1 year ago

0.47.5

1 year ago

0.47.4

1 year ago