This repository has been archived by the owner on Mar 4, 2022. It is now read-only.
Add ability to annotate messages/fields with nolint directive #547
Labels
feature
New feature or request
I have some enums/structs that fail lint in my protobuf, for good reason (e.g. I have an enum called
X509_KEY_USAGE_DATA_ENCIPHERMENT
, and "data encipherment is a phrase taken from IETF spec).Currently, i skip the entire file by adding it to my prototool.yaml. Instead, I would like to be able to annotate this enum, or even this value in the enum, with a comment that would disable linting for this specific case. golangci-lint offers a
// nolint:<rule-name>
directive which I find super handy in cases like these. Can prototool learn this skill too?The text was updated successfully, but these errors were encountered: