protolint

A pluggable linter and fixer to enforce Protocol Buffer style and conventions.

MIT License

Downloads
21.8K
Stars
561
Committers
13

Bot releases are hidden (Show)

protolint - v0.27.0

Published by yoheimuta almost 4 years ago

Changelog

dd1422e Merge pull request #137 from yoheimuta/eval-cwd-symlink/136
f309b98 Merge pull request #141 from yoheimuta/fix-indentatino-inner-elements-on-the-same-line/139
21a2718 feat: Support to fix wrong indentations of inner elements on the same line by inserting new lines
89cedf2 fix: Ignores inner elements wrong indentation when they are on the same line
6cbd763 tests: Confirm a test failure

protolint - v0.26.1

Published by yoheimuta almost 4 years ago

Changelog

84c57fd fix: Calculate the correct relative target path even when the cwd is symlink

protolint - v0.26.0

Published by yoheimuta about 4 years ago

protolint - v0.25.1

Published by yoheimuta over 4 years ago

Changelog

cec14ae Merge pull request #129 from yoheimuta/parse-swagger-annotation/128
62d18fa fix: Support parsing grpc-gateway_a_bit_of_everything.proto

protolint - v0.25.0

Published by yoheimuta over 4 years ago

Changelog

98a20de Merge pull request #127 from yoheimuta/pluralized-names
5c8fd45 feat: Add REPEATED_FIELD_NAMES_PLURALIZED

protolint - v0.24.0

Published by yoheimuta over 4 years ago

Changelog

1c7ce2a Merge pull request #124 from yoheimuta/fix-empty-fields-within-option/123
75c8fd7 Merge pull request #126 from yoheimuta/proto3-things-to-avoid
bf122d8 Update README.md
a2b61e5 chore: Update go-protoparser
1dcc4c4 dev: fix 'field archive not found in type config.Project'
3cdbf43 feat: Add PROTO3_FIELDS_AVOID_REQUIRED and PROTO3_GROUPS_AVOID

protolint - v0.23.2

Published by yoheimuta over 4 years ago

Changelog

1c7ce2a Merge pull request #124 from yoheimuta/fix-empty-fields-within-option/123
bf122d8 Update README.md
a2b61e5 chore: Update go-protoparser
1dcc4c4 dev: fix 'field archive not found in type config.Project'

protolint - v0.23.1

Published by yoheimuta almost 5 years ago

Changelog

595427a Clean go.sum
bcfa2b8 Merge pull request #121 from PaulSonOfLars/updateParseV4
6e775db Merge pull request #122 from yoheimuta/update-parser
86ff11d Update README.md
e30c712 Update README.md
839c527 Update to goprotoparserV4, and reformat imports into groups (stdlib/thirdparty/internal)
28b1e39 chore: Add demo
2b7ca65 chore: Update the parser
6a62014 remove leftover .idea files
a74c864 run gofumpt for extra cleaning

protolint - v0.23.0

Published by yoheimuta almost 5 years ago

Changelog

a61c3b9 Add comment to ParseError struct
e3862f8 Add runtime error code
0980722 Change exit code behaviour to return debuggable values
4049b1b Don't use go1.13 features, since circleci targets 1.12.0
8624b6d Merge pull request #115 from PaulSonOfLars/diffErrorCodes
750fffb Use exit code 1 for lint errors, 2 for anything else.

protolint - v0.22.3

Published by yoheimuta almost 5 years ago

Changelog

ce0afbb Merge pull request #120 from yoheimuta/update-go-version-1.13
0d1ca36 chore: Update go version to latest

protolint - v0.22.2

Published by yoheimuta almost 5 years ago

Changelog

280ce83 Make sure to strip whitespace on regex calls, to ensure rules are in the expected format.
6e85a1f Merge pull request #118 from PaulSonOfLars/windowsDirectives
4b1c87f Merge pull request #119 from yoheimuta/fix-deploy
290ba6c fix: Include dependencies that are automatically injected. This will fix https://app.circleci.com/jobs/github/yoheimuta/protolint/502

protolint - v0.22.1

Published by yoheimuta almost 5 years ago

Changelog

7acd0f0 Add .idea to gitignore
d5f0eb1 Cleanup gomod files, remove unused
9364a23 Merge pull request #106 from PaulSonOfLars/cleanup-gomod
225ceb7 Merge pull request #110 from yoheimuta/update-parser
4d8f375 chore: Include dirty change
5062fcd chore: Update go-protparser

protolint - v0.22.0

Published by yoheimuta almost 5 years ago

Changelog

a67d199 Add a JSON formatter + tests
6749359 Merge branch 'master' into config_path
f708496 Merge pull request #102 from yoheimuta/automate-brew
2501123 Merge pull request #104 from PaulSonOfLars/jsonReporter
c99b4b9 Merge pull request #105 from yoheimuta/config_path
f0ddc98 chore: Add description about json reporter
b3b3f22 feat: Support a configpath flag

protolint - v0.21.1

Published by yoheimuta almost 5 years ago

Changelog

f7872ad Merge pull request #100 from yoheimuta/fix-indent-error
3f4f780 dev: Automate to update brew tap
6e42501 fix: indent enum followed by ;

protolint - v0.21.0

Published by yoheimuta almost 5 years ago

Changelog

87d9771 Merge pull request #97 from yoheimuta/unix-reporter
cfa6e96 Merge pull request #98 from yoheimuta/output
4c49a6f dev: protoc-gen-protolint binary instruction
2423189 feat: Add -output_file
513e99e feat: Add an unix reporter

protolint - v0.20.2

Published by yoheimuta almost 5 years ago

Changelog

12ea822 Merge pull request #95 from yoheimuta/protoc-gen
8b317c0 Merge pull request #96 from yoheimuta/ship-protoc-gen-release
28aa5f8 chore: Update deps
201b2bd feat: Add protoc-gen-protolint
40a03f6 feat: protoc-gen-protolint version
385dad5 fix: Multi builds

protolint - v0.20.1

Published by yoheimuta almost 5 years ago

Changelog

2d04dc2 Merge pull request #93 from yoheimuta/publish-docker
0a735a1 Merge pull request #94 from yoheimuta/docker-readme
083312a Update README.md
d431459 dev: Add Dockerfile.protolint
25e4831 dev: Add notes about Docker

protolint - v0.20.0

Published by yoheimuta almost 5 years ago

Changelog

8bf4c69 Merge pull request #91 from yoheimuta/output-version
648f69c Support install via Homebrew
cdf1b6b Update README.md
fd94928 feat: Add a version command

protolint - v0.19.1

Published by yoheimuta almost 5 years ago

Changelog

0696190 Merge pull request #90 from yoheimuta/disable-rule-maxlinelength
b1f88eb feat: Interpret lines to be disable the rule
8c7d5bf refactor: Move disablerule package public

protolint - v0.19.0

Published by yoheimuta almost 5 years ago

Changelog

9723bc0 Merge pull request #89 from yoheimuta/parser-oneof-options
b3c9baa feat: Update parser to allow oneof to have options

Package Rankings
Top 42.96% on Npmjs.org
Top 2.2% on Proxy.golang.org
Top 36.29% on Pypi.org
Top 31.68% on Formulae.brew.sh
Badges
Extracted from project README