Skip to content
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

Add // coverage:ignore-file to the header of the generated files to ignore for code coverage #805

Open
ghost opened this issue Mar 7, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 7, 2023

Currently the header of a generated file looks like:

/// // Generated code. Do not modify. // source: geometry.proto // // @dart = 2.12 // ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
It would be great if it can be extended with:
// coverage:ignore-file

so that the generated file is ignored during code coverage analysis.
Thanks

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

No branches or pull requests

0 participants