Skip to content

Commit e8ad1b2

Browse files
committed
Solve basic analysis issues
1 parent 40698f3 commit e8ad1b2

File tree

219 files changed

+1312
-331
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+1312
-331
lines changed

analysis_options.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ analyzer:
1414
todo: ignore
1515
exclude:
1616
# exclude all the generated files
17-
# - packages/*/lib/**/*.*.dart
17+
- packages/*/lib/**/*.g.dart
1818

1919
linter:
2020
rules:
@@ -89,3 +89,7 @@ linter:
8989

9090
# There are situations where we use default in enums on purpose
9191
no_default_cases: false
92+
93+
# Temporarily disabled to find more important issues
94+
public_member_api_docs: false
95+
avoid_print: false

packages/stream_feeds/lib/src/feeds_client.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import 'package:rxdart/rxdart.dart';
44
import 'package:stream_core/stream_core.dart';
55

66
import '../stream_feeds.dart';
7-
import 'generated/api/api.g.dart' as api;
7+
import 'generated/api/api.dart' as api;
88
import 'repositories.dart';
99
import 'utils/endpoint_config.dart';
1010
import 'ws/feeds_ws_event.dart';
@@ -69,7 +69,7 @@ class FeedsClient {
6969
late final api.DefaultApi apiClient;
7070
late final FeedsRepository feedsRepository;
7171

72-
static final endpointConfig = EndpointConfig.production;
72+
static const endpointConfig = EndpointConfig.production;
7373
late final WebSocketClient webSocketClient;
7474
ConnectionRecoveryHandler? connectionRecoveryHandler;
7575
Stream<FeedsWsEvent> get feedsEvents =>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Code generated by GetStream internal OpenAPI code generator. DO NOT EDIT.
2+
3+
export 'api/default_api.dart';
4+
export 'models.dart';

packages/stream_feeds/lib/src/generated/api/api.g.dart

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)