Skip to content

Add a lint check for zerolog expression statements without Send or Msg calls - #907

Merged
josephschorr merged 2 commits into
authzed:mainfrom
josephschorr:zerolog-lint-check
Oct 18, 2022
Merged

Add a lint check for zerolog expression statements without Send or Msg calls#907
josephschorr merged 2 commits into
authzed:mainfrom
josephschorr:zerolog-lint-check

Conversation

@josephschorr

Copy link
Copy Markdown
Member

Fixes #905

@github-actions github-actions Bot added the area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) label Oct 17, 2022
@josephschorr
josephschorr marked this pull request as ready for review October 17, 2022 19:25
@josephschorr
josephschorr requested review from a team and jzelinskie October 17, 2022 19:25
vroldanbet
vroldanbet previously approved these changes Oct 18, 2022

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you also need testdata where these types are used?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, my file somehow went missing... I just recreated it and added it back

@josephschorr
josephschorr merged commit 89d488a into authzed:main Oct 18, 2022
@josephschorr
josephschorr deleted the zerolog-lint-check branch October 18, 2022 16:02
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add custom linter to catch zerolog builders without Send

3 participants