Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit 0b4adb4

Browse files
committed
Fix dart analysis
1 parent e895915 commit 0b4adb4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

analysis_options.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ linter:
2222
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
2323
# producing the lint.
2424
rules:
25-
# avoid_print: false # Uncomment to disable the `avoid_print` rule
25+
avoid_print: false # Uncomment to disable the `avoid_print` rule
2626
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27-
2827
# Additional information about this file can be found at
2928
# https://dart.dev/guides/language/analysis-options
29+
30+
analyzer:
31+
exclude:
32+
- lib/firebase.dart # Exclude this as it imports a file that is not checked in

lib/powersync.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final List<RegExp> fatalResponseCodes = [
2929
/// Use Custom Node.js backend for authentication and data upload.
3030
class BackendConnector extends PowerSyncBackendConnector {
3131
PowerSyncDatabase db;
32-
32+
//ignore: unused_field
3333
Future<void>? _refreshFuture;
3434

3535
BackendConnector(this.db);

0 commit comments

Comments
 (0)