diff --git a/codecov.yaml b/codecov.yaml index ebcf3c7c5..69cb76019 100644 --- a/codecov.yaml +++ b/codecov.yaml @@ -1,6 +1 @@ comment: false -ignore: - - "**/*.freezed.dart" - - "**/*.g.dart" - - "**/*.mocks.dart" - - "**/l10n/*.dart" diff --git a/melos.yaml b/melos.yaml index e8b9645cf..44d5463d3 100644 --- a/melos.yaml +++ b/melos.yaml @@ -31,14 +31,28 @@ scripts: # cleanup generated files from coverage coverage:cleanup: > melos exec --file-exists=coverage/lcov.info -- \ - lcov --remove coverage/lcov.info '**/*.g.dart' '**/*.freezed.dart' -o coverage/lcov.info + lcov --remove coverage/lcov.info \ + '**/*.freezed.dart' \ + '**/*.g.dart' \ + '**/*.mocks.dart' \ + '**/l10n/*.dart' \ + '**/*.pb.dart' \ + '**/*.pbjson.dart' \ + '**/*.pbgrpc.dart' \ + '**/*.pbenum.dart' \ + -o coverage/lcov.info # format all packages format: > find . -name '*.dart' \ - ! -name '*.g.dart' \ ! -name '*.freezed.dart' \ + ! -name '*.g.dart' \ ! -name '*.mocks.dart' \ + ! -path '*/l10n/*.dart' \ + ! -name '*.pb.dart' \ + ! -name '*.pbjson.dart' \ + ! -name '*.pbgrpc.dart' \ + ! -name '*.pbenum.dart' \ ! -path '*/.*/*' \ | xargs dart format --set-exit-if-changed