Use case
Running flutter test --coverage generates the file coverage/lcov.info. As a generated file, it should not be added to version control, but the default .gitignore template does not prevent this.
Proposal
I propose that /coverage/ be added to the default .gitignore template that is generated by flutter create in order to circumvent this problem.
If a team wanted to record these files in version control, they would have to remove that entry. That strikes me as a reasonable cost given that the alternative is to have a high-churn generated file not being ignored by default.
Use case
Running
flutter test --coveragegenerates the filecoverage/lcov.info. As a generated file, it should not be added to version control, but the default.gitignoretemplate does not prevent this.Proposal
I propose that
/coverage/be added to the default.gitignoretemplate that is generated byflutter createin order to circumvent this problem.If a team wanted to record these files in version control, they would have to remove that entry. That strikes me as a reasonable cost given that the alternative is to have a high-churn generated file not being ignored by default.