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.18.0

Published by yoheimuta about 5 years ago

Changelog

4c6b095 Merge pull request #84 from yoheimuta/update-parser
691f611 chore: Update go-protoparser
972a8fb chore: tweak go.mod

protolint - v0.17.1

Published by yoheimuta about 5 years ago

Changelog

4b7afe5 Add protolint action document
a47cfd0 Merge pull request #79 from jpreese/protolint-action
dd83960 Merge pull request #80 from yoheimuta/contributing
77b7307 Merge pull request #82 from yoheimuta/suppress-debug-plugin-log
ce97864 chore: Add a note about contributing
f0b6bdb feat: Suppress plugin debug logs by default

protolint - v0.17.0

Published by yoheimuta about 5 years ago

Changelog

f47bca0 Merge pull request #77 from yoheimuta/plugin-note
b3117c6 Merge pull request #78 from yoheimuta/consistent-syntax
e4a453e chore: Add a README to _example/plugin
1fab36e feat: Add the SYNTAX_CONSISTENT rule

protolint - v0.16.1

Published by yoheimuta about 5 years ago

Changelog

2d4d33a Merge pull request #75 from yoheimuta/fix-ident
4cace1b fix: Handle the case that the last rpc method of a service is having a statement block

protolint - v0.16.0

Published by yoheimuta about 5 years ago

Changelog

34d93aa Merge branch 'master' into custom-rule
0c3a46d Merge pull request #70 from yoheimuta/custom-rule
e2e2fe1 Merge pull request #71 from yoheimuta/custom-rule-ph2
f2024bf Merge pull request #72 from yoheimuta/custom-rule-ph3
e308ad1 Merge pull request #73 from yoheimuta/fix-block-semicolon
c6ef8cb chore: Add a simple note about plugin
b977151 chore: Bump parser version
c6090ee chore: Introduce go-plugin
a8f0b01 chore: Remove debug code
de9c84e chore: Tweak go.mod
2e96206 dev: Add some commands to Makefile
536ef5f dev: Add the incomplete example plugin
b1335b0 dev: Modify plugin enumNamesLowerSnakeCaseRule
6bd01d3 example: Add a semicolon following a block
d4c8ef6 feat: Define ExternalRule
9458e58 feat: Define the plugin endpoint
b7d3f03 feat: Load custom rules
b91120d refactor: Move disablerule path
703e2c8 refactor: Move report.Failure to public linter package
b86d282 refactor: Move rule.Rule to public linter package
4058203 refactor: Move strs to public linter package
8447e19 refactor: Move visitor to public linter package
e3ac250 refactor: Rename internal/visitor to lib/visitor

protolint - v0.15.2

Published by yoheimuta about 5 years ago

Changelog

af43ac6 Merge pull request #69 from yoheimuta/accept-block-followed-by-semicolon
46abe9e chore: Bump parser to v3.1.0

protolint - v0.15.1

Published by yoheimuta about 5 years ago

Changelog

ef88c73 Merge pull request #68 from yoheimuta/fix-extend-ident
93d3ae1 fix Support GroupField for ident rule
3aac051 fix: INDENT rule handle 'extend' properly

protolint - v0.15.0

Published by yoheimuta about 5 years ago

Changelog

57fd9e1 Merge pull request #62 from yoheimuta/junit-reporter
516a604 chore: Tweak the make command
4b53ee6 feat: Include a rule id to failure
3e3cd47 feat: Support a junit reporter

protolint - v0.14.1

Published by yoheimuta about 5 years ago

Changelog

d0afde9 Merge branch 'master' into reporter
dc58c89 Merge pull request #60 from wangfenjin/master
f6f4336 Merge pull request #61 from yoheimuta/reporter
7dd2c1b chore: Update go-protoparser
e35dfc5 refactor: Implemented the plain reporter
6bfac9c tests: Tweak error messages
21a9ed7 update failure msg for easy understanding
a924ae0 update test

protolint - v0.14.0

Published by yoheimuta about 5 years ago

Changelog

67bf993 Merge pull request #58 from yoheimuta/proto2
6c97412 chore: Tweak README
35774bc chore: Update parser
fecf983 feat: Add new visit methods

protolint - v0.13.0

Published by yoheimuta about 5 years ago

Changelog

f89f22e Merge pull request #48 from yoheimuta/lowercase-package
e0e3b67 Merge pull request #49 from yoheimuta/bump-go-version
e01c390 Merge pull request #50 from yoheimuta/go-test-lint
1eb27f9 Merge pull request #51 from yoheimuta/structure-order
403b766 Merge pull request #52 from yoheimuta/tweak-readme
37b1577 Merge pull request #53 from yoheimuta/message-have-comment
11bf1d4 Merge pull request #54 from yoheimuta/services-have-comment
68e8258 Merge pull request #55 from yoheimuta/enums-have-comment
aad1865 Merge pull request #56 from yoheimuta/refactor-rule-order
658f2df Merge pull request #57 from yoheimuta/extend-field
f4bc2ca chore: Tweak README
e9dd08d feat: Add a new rule 'MESSAGES_HAVE_COMMENT'
bf4a8df feat: Add a new rule 'ORDER'
59219e6 feat: Add a new rule 'PACKAGE_NAME_LOWER_CASE'
6f096c1 feat: Add a new rule 'SERVICES_HAVE_COMMENT'
7b7221c feat: Add rules to enforce comments
8faf1d9 feat: Extend field meaning
f1efaaa refactor: Sort the rule order
24cb1c1 tests: Bump circleci go version
04750d2 tests: Enable all lint commands
e7f31eb tests: Replace go vet shadow

protolint - v0.12.0

Published by yoheimuta about 5 years ago

Changelog

6abdcdd Fix comment
fc41cc1 Merge pull request #46 from wangfenjin/master
dfbef0c add exclude files

protolint - v0.11.1

Published by yoheimuta about 5 years ago

Changelog

2e6dfda Merge pull request #47 from yoheimuta/update-protoparser
416488c chore: Update mod

protolint - v0.11.0

Published by yoheimuta about 5 years ago

Changelog

b202790 Merge pull request #45 from yoheimuta/sort-imports
e39d6d1 feat: Check if imports are sorted

protolint - v0.10.1

Published by yoheimuta over 5 years ago

Changelog

76d47a2 Merge pull request #44 from yoheimuta/excludes-preposition-check
f766919 feat: Exclude specific keywords from preposition check

protolint - v0.10.0

Published by yoheimuta over 5 years ago

Changelog

b545165 Merge pull request #35 from yoheimuta/tweak-readme
c6d22be Merge pull request #36 from yoheimuta/tweak-readme2
b69c8a9 Merge pull request #37 from yoheimuta/fieldname-not-include-preposition
2a6177c Merge pull request #38 from yoheimuta/disable-servicesuffix-by-default
d775f0c Merge pull request #39 from yoheimuta/message-name-exclude-prepositions
e8c250c Merge pull request #40 from yoheimuta/add-all-default-option
1e6a921 Merge pull request #41 from yoheimuta/enum-value-unspecified
adb65a4 Merge pull request #42 from yoheimuta/file-names-lower-snake-case
7fd6d53 Merge pull request #43 from yoheimuta/refactor-default-selection
8dc6770 chore: Add official column
78b1fa9 chore: Clean up README
6734a3b feat: Add ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH
ec7f2af feat: Add FIELD_NAMES_EXCLUDE_PREPOSITIONS
adda9fc feat: Add FILE_NAMES_LOWER_SNAKE_CASE
47b8ca0 feat: Add MESSAGE_NAMES_EXCLUDE_PREPOSITIONS
c1e4837 feat: Add all_default option
8b74ff8 feat: Disabled SERVICE_NAMES_END_WITH by default
d543e2d refactor: Define IsOfficial to each rule

protolint - v0.9.5

Published by yoheimuta over 5 years ago

Changelog

d55bf33 Merge pull request #32 from jpreese/patch-1
ea735d1 Merge pull request #33 from yoheimuta/add-jetbrain-plugin
78e5361 Merge pull request #34 from yoheimuta/correspond-line-length-indent-size
5408a88 Update README.md
53df1f6 chore: Add intellij-protolint
504df8e chore: Elaborate on default usage
b25c371 chore: Emphasize editor integration
276db47 chore: Tweak README
a9e0d39 feat: Correspond new guideline for line length
b2bb3cc feat: Set defaultStyle to 2 spaces
c458069 tests: Confirm a test failure
93def89 tests: Confirm a test failure

protolint - v0.9.4

Published by yoheimuta over 5 years ago

Changelog

3c42026 Merge pull request #31 from yoheimuta/built-windows
31c0c96 chore: Generated windows binaries

protolint - v0.9.3

Published by yoheimuta over 5 years ago

Changelog

3a5223c Merge pull request #26 from yoheimuta/fix-googleapi-option/21
07eae4d Merge pull request #28 from yoheimuta/fix-extend/27
d86ceda Merge pull request #29 from yoheimuta/add-user
16b2936 Update README.md
7039a90 chore: Add users list
c766d65 chore: Bump go-protoparser
27194aa chore: Bump go-protoparser and fix trivial incompat issues

protolint - v0.9.2

Published by yoheimuta over 5 years ago

Changelog

96c145f Add changes from review
4fc65fa Implement SERVICE_NAMES_END_WITH rule
cce49f2 Merge pull request #22 from yoheimuta/rename-binary
30f8cdf Merge pull request #23 from yoheimuta/verbose-flag
18c012b Merge pull request #24 from jpreese/service-names-end-with
75c7ad7 chore: Fixed lint error
be04cdd doc: -v flag
72a0196 feat: Accepted a verbose flag

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