Skip to content

Commit

Permalink
Merge pull request #2408 from nextcloud/fix/neon_framework/notificati…
Browse files Browse the repository at this point in the history
…ons_named_import_compile_error

fix(neon_framework): build issue due to error in generated files
  • Loading branch information
Leptopoda authored Aug 20, 2024
2 parents 7838978 + c152987 commit b433431
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 14 deletions.
1 change: 1 addition & 0 deletions packages/neon_framework/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ include: package:neon_lints/flutter.yaml
analyzer:
exclude:
- lib/l10n/**
- '**/router.g.dart'

custom_lint:
rules:
Expand Down
2 changes: 0 additions & 2 deletions packages/neon_framework/lib/src/models/account.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -33,7 +32,6 @@ abstract interface class Credentials {
}

/// Account data.
@immutable
abstract class Account implements Credentials, Findable, Built<Account, AccountBuilder> {
// ignore: public_member_api_docs
factory Account([void Function(AccountBuilder)? updates]) = _$Account;
Expand Down
16 changes: 8 additions & 8 deletions packages/neon_framework/lib/src/models/push_notification.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ include: package:neon_lints/flutter.yaml
analyzer:
exclude:
- lib/l10n/**
- '**/routes.g.dart'
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ linter:
analyzer:
exclude:
- lib/l10n/**
- '**/routes.g.dart'
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ linter:
analyzer:
exclude:
- lib/l10n/**
- '**/routes.g.dart'
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ linter:
analyzer:
exclude:
- lib/l10n/**
- '**/routes.g.dart'
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ linter:
analyzer:
exclude:
- lib/l10n/**
- '**/routes.g.dart'
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ include: package:neon_lints/flutter.yaml
analyzer:
exclude:
- lib/l10n/**
- '**/routes.g.dart'
2 changes: 0 additions & 2 deletions packages/neon_lints/lib/src/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ analyzer:
errors:
flutter_style_todos: ignore
todo: ignore
exclude:
- "**.g.dart"
linter:
rules:
always_declare_return_types: true
Expand Down
2 changes: 0 additions & 2 deletions packages/neon_lints/lint_maker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ base:
errors:
flutter_style_todos: ignore
todo: ignore
exclude:
- '**.g.dart'
linter:
rules:
always_specify_types: false
Expand Down
5 changes: 5 additions & 0 deletions packages/nextcloud/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit b433431

Please sign in to comment.