Skip to content

Commit 89edddf

Browse files
NikaHsnkhatruong2009
authored andcommitted
chore(repo): fix beta lints issues (#4053)
1 parent 5fef57d commit 89edddf

File tree

8 files changed

+8
-7
lines changed

8 files changed

+8
-7
lines changed

packages/amplify_core/lib/src/config/amplify_plugin_config.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ abstract class AmplifyPluginConfig with AWSSerializable {
2020

2121
/// {@template amplify_core.unknown_plugin_config_factory}
2222
/// A plugin factory for unknown plugin configs.
23-
/// @{endtemplate}
23+
/// {@endtemplate}
2424
@internal
2525
class UnknownPluginConfigFactory
2626
extends AmplifyPluginConfigFactory<UnknownPluginConfig> {

packages/amplify_core/lib/src/state_machine/exception.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import 'package:aws_common/aws_common.dart';
55

6-
/// (@template amplify_core.state_machine.precondition_exception)
6+
/// {@template amplify_core.state_machine.precondition_exception}
77
/// An exception raised within a state machine when an event could not be
88
/// processed due to some precondition not being met.
99
/// {@endtemplate}

packages/amplify_core/lib/src/types/models/auth_rule.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class AuthRule {
7676
'groupClaim': groupClaim,
7777
'groups': groups,
7878
'groupsField': groupsField,
79-
'provider': provider != null ? provider!.name : null,
79+
'provider': provider?.name,
8080
'operations': operations?.map((op) => op.name).toList(),
8181
};
8282
return Map<String, dynamic>.from(map)

packages/analytics/amplify_analytics_pinpoint_dart/lib/src/impl/flutter_provider_interfaces/legacy_native_data_provider.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import 'dart:async';
55

66
/// {@template amplify_analytics_pinpoint.flutter_legacy_native_data_provider}
7+
/// {@endtemplate}
78
abstract class LegacyNativeDataProvider {
89
/// Get stored Pinpoint Endpoint Id.
910
Future<String?> getEndpointId(String pinpointAppId);

packages/smithy/smithy/lib/src/types/timestamp.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import 'package:smithy/ast.dart';
1515
/// {@template aws.smithy.timestamp}
1616
/// A [DateTime] wrapper which provides custom formatting and parsing options
1717
/// for use with Smithy services.
18-
/// @{endtemplate}
18+
/// {@endtemplate}
1919
class Timestamp {
2020
/// {@macro aws.smithy.timestamp}
2121
Timestamp(DateTime timestamp) : _timestamp = timestamp.stripMicroseconds();

packages/storage/amplify_storage_s3_dart/lib/src/storage_s3_service/service/task/s3_download_task.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import 'package:smithy_aws/smithy_aws.dart' as smithy_aws;
1515

1616
/// {@template amplify_storage_s3_dart.download_task}
1717
/// A task created to fulfill a download operation.
18-
/// {@template}
18+
/// {@endtemplate}
1919
@internal
2020
class S3DownloadTask {
2121
/// {@macro amplify_storage_s3_dart.download_task}

packages/storage/amplify_storage_s3_dart/lib/src/storage_s3_service/transfer/database/transfer_record.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ part 'transfer_record.g.dart';
1010
/// {@template amplify_storage_s3_dart.transfer_data}
1111
/// the type used by Storage S3 plugin upload operations when using s3 multipart upload.
1212
/// it is persisted to TransferDatabase.
13-
/// {@endtemplate amplify_storage_s3_dart.transfer_data}
13+
/// {@endtemplate}
1414
@JsonSerializable()
1515
class TransferRecord {
1616
/// {@macro amplify_storage_s3_dart.transfer_data}

packages/worker_bee/worker_bee/lib/src/common.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final _voidType = _typeOf<void>();
2020
/// {@endtemplate}
2121
abstract class WorkerBeeCommon<Request extends Object, Response>
2222
implements AWSLoggerPlugin, Closeable {
23-
/// {@template worker_bee.worker_bee_common}
23+
/// {@macro worker_bee.worker_bee_common}
2424
WorkerBeeCommon({
2525
Serializers? serializers,
2626
}) : serializers = serializers == null

0 commit comments

Comments
 (0)