Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(neon_framework): build issue due to error in generated files #2408

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'