diff --git a/packages/neon_framework/analysis_options.yaml b/packages/neon_framework/analysis_options.yaml index 6ab8e7fde71..bf89f40d449 100644 --- a/packages/neon_framework/analysis_options.yaml +++ b/packages/neon_framework/analysis_options.yaml @@ -3,6 +3,7 @@ include: package:neon_lints/flutter.yaml analyzer: exclude: - lib/l10n/** + - '**/router.g.dart' custom_lint: rules: diff --git a/packages/neon_framework/lib/src/models/account.dart b/packages/neon_framework/lib/src/models/account.dart index 919c37c8ad3..aa179d4fd20 100644 --- a/packages/neon_framework/lib/src/models/account.dart +++ b/packages/neon_framework/lib/src/models/account.dart @@ -20,7 +20,6 @@ final Serializers _serializers = (_$_serializers.toBuilder()..addPlugin(Standard /// Credentials interface @internal -@immutable abstract interface class Credentials { /// Url of the server abstract final Uri serverURL; @@ -33,7 +32,6 @@ abstract interface class Credentials { } /// Account data. -@immutable abstract class Account implements Credentials, Findable, Built { // ignore: public_member_api_docs factory Account([void Function(AccountBuilder)? updates]) = _$Account; diff --git a/packages/neon_framework/lib/src/models/push_notification.g.dart b/packages/neon_framework/lib/src/models/push_notification.g.dart index 42bf5783cd2..419fa9c63df 100644 --- a/packages/neon_framework/lib/src/models/push_notification.g.dart +++ b/packages/neon_framework/lib/src/models/push_notification.g.dart @@ -7,7 +7,7 @@ part of 'push_notification.dart'; // ************************************************************************** Serializers _$_serializers = (Serializers().toBuilder() - ..add(DecryptedSubject.serializer) + ..add(notifications.DecryptedSubject.serializer) ..add(PushNotification.serializer)) .build(); Serializer _$pushNotificationSerializer = _$PushNotificationSerializer(); @@ -29,7 +29,7 @@ class _$PushNotificationSerializer implements StructuredSerializer (PushNotificationBuilder()..update(updates))._build(); @@ -140,9 +140,9 @@ class PushNotificationBuilder implements Builder _$this._type; set type(String? type) => _$this._type = type; - DecryptedSubjectBuilder? _subject; - DecryptedSubjectBuilder get subject => _$this._subject ??= DecryptedSubjectBuilder(); - set subject(DecryptedSubjectBuilder? subject) => _$this._subject = subject; + notifications.DecryptedSubjectBuilder? _subject; + notifications.DecryptedSubjectBuilder get subject => _$this._subject ??= notifications.DecryptedSubjectBuilder(); + set subject(notifications.DecryptedSubjectBuilder? subject) => _$this._subject = subject; PushNotificationBuilder(); diff --git a/packages/neon_framework/packages/dashboard_app/analysis_options.yaml b/packages/neon_framework/packages/dashboard_app/analysis_options.yaml index 66de1efdbdd..fba40411a7d 100644 --- a/packages/neon_framework/packages/dashboard_app/analysis_options.yaml +++ b/packages/neon_framework/packages/dashboard_app/analysis_options.yaml @@ -3,3 +3,4 @@ include: package:neon_lints/flutter.yaml analyzer: exclude: - lib/l10n/** + - '**/routes.g.dart' diff --git a/packages/neon_framework/packages/files_app/analysis_options.yaml b/packages/neon_framework/packages/files_app/analysis_options.yaml index 243819ae19b..a0321db9175 100644 --- a/packages/neon_framework/packages/files_app/analysis_options.yaml +++ b/packages/neon_framework/packages/files_app/analysis_options.yaml @@ -7,3 +7,4 @@ linter: analyzer: exclude: - lib/l10n/** + - '**/routes.g.dart' diff --git a/packages/neon_framework/packages/news_app/analysis_options.yaml b/packages/neon_framework/packages/news_app/analysis_options.yaml index 243819ae19b..a0321db9175 100644 --- a/packages/neon_framework/packages/news_app/analysis_options.yaml +++ b/packages/neon_framework/packages/news_app/analysis_options.yaml @@ -7,3 +7,4 @@ linter: analyzer: exclude: - lib/l10n/** + - '**/routes.g.dart' diff --git a/packages/neon_framework/packages/notes_app/analysis_options.yaml b/packages/neon_framework/packages/notes_app/analysis_options.yaml index 243819ae19b..a0321db9175 100644 --- a/packages/neon_framework/packages/notes_app/analysis_options.yaml +++ b/packages/neon_framework/packages/notes_app/analysis_options.yaml @@ -7,3 +7,4 @@ linter: analyzer: exclude: - lib/l10n/** + - '**/routes.g.dart' diff --git a/packages/neon_framework/packages/notifications_app/analysis_options.yaml b/packages/neon_framework/packages/notifications_app/analysis_options.yaml index 243819ae19b..a0321db9175 100644 --- a/packages/neon_framework/packages/notifications_app/analysis_options.yaml +++ b/packages/neon_framework/packages/notifications_app/analysis_options.yaml @@ -7,3 +7,4 @@ linter: analyzer: exclude: - lib/l10n/** + - '**/routes.g.dart' diff --git a/packages/neon_framework/packages/talk_app/analysis_options.yaml b/packages/neon_framework/packages/talk_app/analysis_options.yaml index 66de1efdbdd..fba40411a7d 100644 --- a/packages/neon_framework/packages/talk_app/analysis_options.yaml +++ b/packages/neon_framework/packages/talk_app/analysis_options.yaml @@ -3,3 +3,4 @@ include: package:neon_lints/flutter.yaml analyzer: exclude: - lib/l10n/** + - '**/routes.g.dart' diff --git a/packages/neon_lints/lib/src/base.yaml b/packages/neon_lints/lib/src/base.yaml index e5e87da80d5..e242e20a6b5 100644 --- a/packages/neon_lints/lib/src/base.yaml +++ b/packages/neon_lints/lib/src/base.yaml @@ -6,8 +6,6 @@ analyzer: errors: flutter_style_todos: ignore todo: ignore - exclude: - - "**.g.dart" linter: rules: always_declare_return_types: true diff --git a/packages/neon_lints/lint_maker.yaml b/packages/neon_lints/lint_maker.yaml index eecd86305d8..f3345dab24f 100644 --- a/packages/neon_lints/lint_maker.yaml +++ b/packages/neon_lints/lint_maker.yaml @@ -9,8 +9,6 @@ base: errors: flutter_style_todos: ignore todo: ignore - exclude: - - '**.g.dart' linter: rules: always_specify_types: false diff --git a/packages/nextcloud/analysis_options.yaml b/packages/nextcloud/analysis_options.yaml index f2cddfc2d75..71d8edb3ed3 100644 --- a/packages/nextcloud/analysis_options.yaml +++ b/packages/nextcloud/analysis_options.yaml @@ -3,3 +3,8 @@ include: package:neon_lints/dart.yaml linter: rules: avoid_print: false + +analyzer: + exclude: + - 'lib/src/api/webdav/models/props.g.dart' + - 'lib/src/api/webdav/models/webdav.g.dart'