Skip to content

analyzer: do not analyze generated go files#40

Merged
odeke-em merged 1 commit intomasterfrom
do-not-analyze-generate-go-code
Sep 21, 2022
Merged

analyzer: do not analyze generated go files#40
odeke-em merged 1 commit intomasterfrom
do-not-analyze-generate-go-code

Conversation

@odeke-em
Copy link
Contributor

This change filters out code that contains the Go standardized generated code header

^// Code generated .* DO NOT EDIT\.

per golang/go#13560.

Fixes #30

@odeke-em odeke-em force-pushed the do-not-analyze-generate-go-code branch from 5344788 to 9d31333 Compare September 21, 2022 01:26
This change filters out code that contains the Go standardized
generated code header

    ^// Code generated .* DO NOT EDIT\.

per golang/go#13560.

Fixes #30
@odeke-em odeke-em force-pushed the do-not-analyze-generate-go-code branch from 9d31333 to 00d45f6 Compare September 21, 2022 01:33
@odeke-em odeke-em merged commit 00d45f6 into master Sep 21, 2022
@odeke-em odeke-em deleted the do-not-analyze-generate-go-code branch September 21, 2022 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rules/sdk: iterate over maps should suppress protobuf related code and auto-generated code in pb.go and pb.*.go files

1 participant