From de3d4ac7e2a1c7861ab940e369fcba3660c81410 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 2 Oct 2024 13:29:17 +0200 Subject: [PATCH 1/3] chore: Remove unnecessary analyzer excludes Signed-off-by: provokateurin --- packages/dynamite/analysis_options.yaml | 4 ---- .../dynamite/packages/dynamite_runtime/analysis_options.yaml | 4 ---- packages/neon_framework/analysis_options.yaml | 1 - .../packages/dashboard_app/analysis_options.yaml | 1 - .../neon_framework/packages/files_app/analysis_options.yaml | 5 ----- .../neon_framework/packages/news_app/analysis_options.yaml | 5 ----- .../neon_framework/packages/notes_app/analysis_options.yaml | 5 ----- .../packages/notifications_app/analysis_options.yaml | 5 ----- .../neon_framework/packages/talk_app/analysis_options.yaml | 1 - 9 files changed, 31 deletions(-) diff --git a/packages/dynamite/analysis_options.yaml b/packages/dynamite/analysis_options.yaml index 80216cb33b7..6269ec64772 100644 --- a/packages/dynamite/analysis_options.yaml +++ b/packages/dynamite/analysis_options.yaml @@ -3,7 +3,3 @@ include: package:neon_lints/dart.yaml linter: rules: public_member_api_docs: false - -analyzer: - exclude: - - '**.g.dart' diff --git a/packages/dynamite/packages/dynamite_runtime/analysis_options.yaml b/packages/dynamite/packages/dynamite_runtime/analysis_options.yaml index 447af2a69f4..4db3c296b81 100644 --- a/packages/dynamite/packages/dynamite_runtime/analysis_options.yaml +++ b/packages/dynamite/packages/dynamite_runtime/analysis_options.yaml @@ -1,5 +1 @@ include: package:neon_lints/dart.yaml - -analyzer: - exclude: - - '**.g.dart' diff --git a/packages/neon_framework/analysis_options.yaml b/packages/neon_framework/analysis_options.yaml index bf89f40d449..a6103b44719 100644 --- a/packages/neon_framework/analysis_options.yaml +++ b/packages/neon_framework/analysis_options.yaml @@ -2,7 +2,6 @@ include: package:neon_lints/flutter.yaml analyzer: exclude: - - lib/l10n/** - '**/router.g.dart' custom_lint: diff --git a/packages/neon_framework/packages/dashboard_app/analysis_options.yaml b/packages/neon_framework/packages/dashboard_app/analysis_options.yaml index fba40411a7d..499d6aed4f3 100644 --- a/packages/neon_framework/packages/dashboard_app/analysis_options.yaml +++ b/packages/neon_framework/packages/dashboard_app/analysis_options.yaml @@ -2,5 +2,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 a0321db9175..1ab897e43a6 100644 --- a/packages/neon_framework/packages/files_app/analysis_options.yaml +++ b/packages/neon_framework/packages/files_app/analysis_options.yaml @@ -3,8 +3,3 @@ include: package:neon_lints/flutter.yaml linter: rules: public_member_api_docs: false - -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 a0321db9175..1ab897e43a6 100644 --- a/packages/neon_framework/packages/news_app/analysis_options.yaml +++ b/packages/neon_framework/packages/news_app/analysis_options.yaml @@ -3,8 +3,3 @@ include: package:neon_lints/flutter.yaml linter: rules: public_member_api_docs: false - -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 a0321db9175..1ab897e43a6 100644 --- a/packages/neon_framework/packages/notes_app/analysis_options.yaml +++ b/packages/neon_framework/packages/notes_app/analysis_options.yaml @@ -3,8 +3,3 @@ include: package:neon_lints/flutter.yaml linter: rules: public_member_api_docs: false - -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 a0321db9175..1ab897e43a6 100644 --- a/packages/neon_framework/packages/notifications_app/analysis_options.yaml +++ b/packages/neon_framework/packages/notifications_app/analysis_options.yaml @@ -3,8 +3,3 @@ include: package:neon_lints/flutter.yaml linter: rules: public_member_api_docs: false - -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 fba40411a7d..499d6aed4f3 100644 --- a/packages/neon_framework/packages/talk_app/analysis_options.yaml +++ b/packages/neon_framework/packages/talk_app/analysis_options.yaml @@ -2,5 +2,4 @@ include: package:neon_lints/flutter.yaml analyzer: exclude: - - lib/l10n/** - '**/routes.g.dart' From 2e313235d97ae4da74d3669429d0734d51d4dda8 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 2 Oct 2024 13:35:03 +0200 Subject: [PATCH 2/3] chore: Use more precise analyzer excludes Signed-off-by: provokateurin --- packages/neon_framework/analysis_options.yaml | 2 +- .../neon_framework/packages/dashboard_app/analysis_options.yaml | 2 +- packages/neon_framework/packages/talk_app/analysis_options.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/neon_framework/analysis_options.yaml b/packages/neon_framework/analysis_options.yaml index a6103b44719..fa0f6a4ca92 100644 --- a/packages/neon_framework/analysis_options.yaml +++ b/packages/neon_framework/analysis_options.yaml @@ -2,7 +2,7 @@ include: package:neon_lints/flutter.yaml analyzer: exclude: - - '**/router.g.dart' + - 'lib/src/router.g.dart' custom_lint: rules: diff --git a/packages/neon_framework/packages/dashboard_app/analysis_options.yaml b/packages/neon_framework/packages/dashboard_app/analysis_options.yaml index 499d6aed4f3..0b9145cb039 100644 --- a/packages/neon_framework/packages/dashboard_app/analysis_options.yaml +++ b/packages/neon_framework/packages/dashboard_app/analysis_options.yaml @@ -2,4 +2,4 @@ include: package:neon_lints/flutter.yaml analyzer: exclude: - - '**/routes.g.dart' + - 'lib/src/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 499d6aed4f3..0b9145cb039 100644 --- a/packages/neon_framework/packages/talk_app/analysis_options.yaml +++ b/packages/neon_framework/packages/talk_app/analysis_options.yaml @@ -2,4 +2,4 @@ include: package:neon_lints/flutter.yaml analyzer: exclude: - - '**/routes.g.dart' + - 'lib/src/routes.g.dart' From ea21cf90947ee48a11ec3714210b2331396954c9 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 2 Oct 2024 13:29:51 +0200 Subject: [PATCH 3/3] chore(nextcloud): Stop adding unused import to generated props Signed-off-by: provokateurin --- packages/nextcloud/generate_props.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/nextcloud/generate_props.dart b/packages/nextcloud/generate_props.dart index 75bffd49fb2..3f0cf7efaf6 100644 --- a/packages/nextcloud/generate_props.dart +++ b/packages/nextcloud/generate_props.dart @@ -127,7 +127,6 @@ void main() { '// coverage:ignore-file', "import 'package:meta/meta.dart';", "import 'package:nextcloud/src/api/webdav/webdav.dart';", - "import 'package:nextcloud/src/utils/date_time.dart';", "import 'package:timezone/timezone.dart' as tz;", "import 'package:xml/xml.dart';", "import 'package:xml_annotation/xml_annotation.dart' as annotation;",