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

Commit

Permalink
Fix dart analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
mugikhan committed Nov 18, 2024
1 parent e895915 commit 0b4adb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion lib/powersync.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final List<RegExp> fatalResponseCodes = [
/// Use Custom Node.js backend for authentication and data upload.
class BackendConnector extends PowerSyncBackendConnector {
PowerSyncDatabase db;

//ignore: unused_field
Future<void>? _refreshFuture;

BackendConnector(this.db);
Expand Down

0 comments on commit 0b4adb4

Please sign in to comment.