From 0b4adb4d19f50be65afdbd3fc88d57e71db7d5a2 Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Mon, 18 Nov 2024 19:54:18 +0200 Subject: [PATCH] Fix dart analysis --- analysis_options.yaml | 7 +++++-- lib/powersync.dart | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/analysis_options.yaml b/analysis_options.yaml index 61b6c4d..93a247a 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -22,8 +22,11 @@ linter: # `// ignore_for_file: name_of_lint` syntax on the line or in the file # producing the lint. rules: - # avoid_print: false # Uncomment to disable the `avoid_print` rule + avoid_print: false # Uncomment to disable the `avoid_print` rule # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule - # Additional information about this file can be found at # https://dart.dev/guides/language/analysis-options + +analyzer: + exclude: + - lib/firebase.dart # Exclude this as it imports a file that is not checked in diff --git a/lib/powersync.dart b/lib/powersync.dart index 399f8cf..54da5e9 100644 --- a/lib/powersync.dart +++ b/lib/powersync.dart @@ -29,7 +29,7 @@ final List fatalResponseCodes = [ /// Use Custom Node.js backend for authentication and data upload. class BackendConnector extends PowerSyncBackendConnector { PowerSyncDatabase db; - + //ignore: unused_field Future? _refreshFuture; BackendConnector(this.db);