Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Sep 26, 2024
1 parent ce700f7 commit fe95181
Show file tree
Hide file tree
Showing 60 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion idb_shim/lib/idb.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.idb;
library;

import 'dart:async';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/idb_browser.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim_browser;
library;

import 'package:idb_shim/idb_client.dart';
import 'package:idb_shim/idb_client_memory.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/idb_client.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.idb_client;
library;

// Will be deprecated someday...
export 'idb_shim.dart';
2 changes: 1 addition & 1 deletion idb_shim/lib/idb_client_memory.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// In memory implementation.
/// {@canonicalFor sembast_memory_compat.idbMemoryFactory}
library idb_shim.memory;
library;

import 'package:idb_shim/idb_client.dart';
import 'package:idb_shim/src/sembast/sembast_factory.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/idb_client_native.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// New implementation base on web package. wasm compatible
///
/// {@canonicalFor idb_shim.src.native_web.idb_native_web.idbFactoryFromIndexedDB}
library idb_shim.native;
library;

export 'idb_client_native_interop.dart';
export 'idb_shim.dart';
2 changes: 1 addition & 1 deletion idb_shim/lib/idb_client_native_html.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// {@canonicalFor idb_shim.src.native.idb_native_web.idbFactoryFromIndexedDB}
/// Legacy API
library idb_shim_native_html;
library;

import 'package:idb_shim/src/utils/unimplemented_stub.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/idb_client_native_interop.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// New implementation base on web package. wasm compatible
///
/// {@canonicalFor idb_shim.src.native_web.idb_native_web.idbFactoryFromIndexedDB}
library idb_shim_native_interop;
library;

export 'package:idb_shim/src/native_web/idb_native.dart'
show
Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/idb_client_sembast.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Sembast based implementation.
library idb_shim.sembast;
library;

import 'dart:async';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/idb_console.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// use idb_io.dart now
@Deprecated('Use idb_io.dart')
library idb_shim.console;
library;

export 'idb_io.dart';
2 changes: 1 addition & 1 deletion idb_shim/lib/idb_io.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.io;
library;

import 'package:idb_shim/idb_client_sembast.dart';
import 'package:sembast/sembast_io.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/idb_shim.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/// {@canonicalFor idb_shim.error.DatabaseReadOnlyError}
/// {@canonicalFor idb_shim.error.DatabaseStoreNotFoundError}
/// {@canonicalFor idb_shim.error.DatabaseTransactionStoreNotFoundError}
library idb_shim;
library;

export 'idb.dart';
export 'idb_client_memory.dart' show idbFactoryMemory, idbFactoryMemoryFs;
Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/src/client/client.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.src.client.client;
library;

import 'package:idb_shim/src/common/common_import.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/src/client/error.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.error;
library;

import 'package:idb_shim/idb.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/src/common/common_meta.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ignore_for_file: public_member_api_docs

library tekartik_idb.idb_meta;
library;

import 'dart:async';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/src/common/common_validation.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ignore_for_file: public_member_api_docs

library idb_shim.common_validation;
library;

import 'package:idb_shim/idb_client.dart';
import 'package:idb_shim/src/common/common_error.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/src/common/common_value.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim_common_value;
library;

import 'dart:convert';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/src/utils/core_imports.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim_core_imports;
library;

export 'dart:async';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/src/utils/dev_utils.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// Development helpers to generate warning in code
// ignore_for_file: public_member_api_docs

library idb_shim_dev_utils;
library;

import 'package:meta/meta.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/utils/idb_cursor_utils.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.utils.idb_cursor_utils;
library;

import 'package:idb_shim/src/utils/core_imports.dart';
import 'package:sembast/utils/value_utils.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/utils/idb_import_export.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.utils.idb_import_export;
library;

import 'dart:async';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/lib/utils/idb_utils.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.utils.idb_utils;
library;

import 'package:idb_shim/src/common/common_meta.dart';
import 'package:idb_shim/src/common/common_value.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_shim/test/idb_test_common.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.idb_test_common;
library;

import 'dart:async';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/test/multiplatform/common_meta_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.common_meta_test;
library;

import '../idb_test_common.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/test/multiplatform/common_validation_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library common_value_test;
library;

import 'package:idb_shim/src/common/common_error.dart';
import 'package:idb_shim/src/common/common_validation.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_shim/test/multiplatform/common_value_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library common_value_test;
library;

import 'package:idb_shim/src/common/common_value.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/test/multiplatform/sembast_filter_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.sembast_filter_test;
library;

import 'package:idb_shim/src/sembast/sembast_filter.dart' as sembast_filter;
import 'package:sembast/sembast.dart' as sdb;
Expand Down
2 changes: 1 addition & 1 deletion idb_shim/test/multiplatform/sembast_store_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.sembast_store_test;
library;

import 'package:idb_shim/src/sembast/sembast_object_store.dart' as sembast;

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/test/multiplatform/sembast_value_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.sembast_value_test;
library;

import 'dart:typed_data';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/test/multiplatform/value_utils_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.value_utils_test;
library;

import 'package:idb_shim/src/utils/value_utils.dart';
import 'package:idb_shim/src/utils/value_utils.dart' as utils;
Expand Down
2 changes: 1 addition & 1 deletion idb_shim/test/web/idb_browser_test_common.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.idb_io_test_common;
library;

import 'package:web/web.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_shim/test/web/test_runner_bug_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.test_runner_client_sembast_fs_test;
library;

import 'package:idb_shim/src/sembast/sembast_factory.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/cursor_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library cursor_test;
library;

import 'package:idb_shim/utils/idb_cursor_utils.dart';
import 'package:idb_shim/utils/idb_utils.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/database_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library database_test;
library;

import 'exception_test.dart';
import 'idb_test_common.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/factory_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library factory_test;
library;

import 'dart:typed_data';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/idb_test_common_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_test_utils;
library;

import 'idb_test_common.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/index_cursor_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library index_cursor_test;
library;

import 'package:idb_shim/utils/idb_utils.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/index_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library index_test;
library;

import 'package:idb_test/idb_test_common_meta.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/indexeddb_1_test.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://dart.googlecode.com/svn/branches/bleeding_edge/dart/tests/html/indexeddb_1_test.dart
// replace _idbFactory with _idbFactory
library idb_shim.test.indexeddb_1_test;
library;

import 'package:idb_shim/idb_client.dart' as idb;

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/indexeddb_2_test.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://dart.googlecode.com/svn/branches/bleeding_edge/dart/tests/html/indexeddb_1_test.dart
// replace html.window.indexedDB with idbFactory
// replace IndexedDB1Test with IndexedDB2Test
library idb_shim.test.indexeddb_2_test;
library;

import 'dart:collection';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/indexeddb_3_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.test.indexeddb_3_test;
library;

import 'idb_test_common.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/indexeddb_4_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.test.indexeddb_4_test;
library;

import 'idb_test_common.dart';
// so that this can be run directly
Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/indexeddb_5_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.test.indexeddb_5_test;
library;

//import 'dart:async';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/indexeddb_utils.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// https://dart.googlecode.com/svn/branches/bleeding_edge/dart/tests/html/utils.dart
library idb_shim.test.indexeddb_utils;
library;

import 'dart:typed_data';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/key_range_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library key_range_test;
library;

import 'idb_test_common.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/object_store_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library object_store_test;
library;

import 'package:idb_shim/src/common/common_value.dart'; // ignore: implementation_imports
import 'package:idb_test/idb_test_common_meta.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/open_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library open_test_common;
library;

import 'idb_test_common.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/quick_standalone_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.quick_standalone;
library;

import 'idb_test_common.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/scenario_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.scenario_test;
library;

import 'idb_test_common.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/simple_provider.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library simple_provider;
library;

import 'dart:async';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/simple_provider_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library store_test_common;
library;

import 'idb_test_common.dart' hide testNameIndex, testNameField;
import 'simple_provider.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/test_runner.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.test_runner;
library;

import 'package:idb_test/sdb_test.dart';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/test_runner_client_sembast_fs_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.test_runner_client_sembast_fs_test;
library;

import 'dart:convert';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/test_runner_client_sembast_memory_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.test_runner_client_sembast_io_test;
library;

import 'idb_test_common.dart';
import 'test_runner.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/transaction_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library transaction_test_common;
library;

import 'exception_test.dart';
import 'idb_test_common.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/type_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_test.type_test;
library;

import 'dart:typed_data';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/lib/utils_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.utils_test;
library;

import 'dart:typed_data';

Expand Down
2 changes: 1 addition & 1 deletion idb_test/test/io/idb_io_test_common.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.idb_io_test_common;
library;

import 'package:idb_shim/idb_client_sembast.dart';
import 'package:idb_test/idb_test_common.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_test/test/io/test_runner_client_sembast_io_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@TestOn('vm')
library idb_shim.test_runner_sembast_io;
library;

import 'package:test/test.dart';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@TestOn('browser')
library idb_shim.test_runner_client_native_test;
library;

import 'package:idb_shim/idb_client_logger.dart';
import 'package:idb_test/idb_test_common.dart';
Expand Down
2 changes: 1 addition & 1 deletion idb_test/test/web/idb_browser_test_common.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library idb_shim.idb_io_test_common;
library;

import 'package:web/web.dart';

Expand Down

0 comments on commit fe95181

Please sign in to comment.