-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Ignore mockery-generated files: // Code generated by mockery v1.0.0
#72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There is a (sort of?) proposal for standardising on an auto-generated comment format here: It's a bit hard to tell what the outcome is, but it might be worth following that. |
thank you, but some tools don't follow this convention. |
I ran into this and found that updating mockery appends "DO NOT EDIT" to the "Code generated..." comment. This causes it to be in line with golang/go#13560 and thus be treated as generated code by golangci-lint. It looks like that was added in vektra/mockery#188. It might still be worth adding this exception because there are still a lot of files out there that were generated by older mockery binaries. |
Another pattern from easyjson: // AUTOGENERATED FILE: easyjson .* |
…-files Fix #72: match more autogenerated files patterns.
No description provided.
The text was updated successfully, but these errors were encountered: