Skip to content

Commit 6876393

Browse files
authored
chore: remove unneeded library names (#16)
2 parents ef39cfd + dfc286b commit 6876393

File tree

7 files changed

+6
-11
lines changed

7 files changed

+6
-11
lines changed

analysis_options.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ analyzer:
99
missing_required_param: error
1010
missing_return: error
1111
todo: ignore
12-
# Library names are optional but doc comments before them are cleaner
13-
unnecessary_library_name: ignore
14-
dangling_library_doc_comments: ignore
1512

1613
linter:
1714
rules:
@@ -33,7 +30,6 @@ linter:
3330
- avoid_returning_this
3431
- avoid_void_async
3532
- directives_ordering
36-
- library_private_types_in_public_api
3733
- omit_local_variable_types
3834
- parameter_assignments
3935
- prefer_asserts_with_message
@@ -50,7 +46,6 @@ linter:
5046
- unawaited_futures
5147
- use_if_null_to_convert_nulls_to_bools
5248
- use_string_buffers
53-
- use_super_parameters
5449

5550
# Disabled rules (too strict or not always applicable)
5651
# - avoid_catches_without_on_clauses (sometimes catching all exceptions is intentional)

lib/builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/// firebase-tools uses for deployment.
66
///
77
/// See BUILDER_SYSTEM.md for detailed documentation.
8-
library builder;
8+
library;
99

1010
import 'package:analyzer/dart/ast/ast.dart';
1111
import 'package:analyzer/dart/ast/visitor.dart';

lib/firebase_functions.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
/// See also:
5252
/// - [params.dart] for the full params API
5353
/// - [onInit] for safe initialization with secrets
54-
library firebase_functions;
54+
library;
5555

5656
// Re-export dart_firebase_admin types for convenience
5757
export 'package:dart_firebase_admin/firestore.dart'

lib/params.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
/// handler,
7171
/// );
7272
/// ```
73-
library params;
73+
library;
7474

7575
import 'src/common/params.dart' as internal;
7676

lib/src/alerts/alerts.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// Firebase Alerts namespace for Cloud Functions.
2-
library alerts;
2+
library;
33

44
export 'alert_event.dart';
55
export 'alert_type.dart';

lib/src/database/database.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/// },
1818
/// );
1919
/// ```
20-
library database;
20+
library;
2121

2222
export 'data_snapshot.dart'
2323
show Change, DataSnapshot, IntPriority, Priority, StringPriority;

lib/src/identity/identity.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
///
33
/// Provides auth blocking functions that run before user creation,
44
/// sign-in, email sending, and SMS sending.
5-
library identity;
5+
library;
66

77
export 'auth_blocking_event.dart';
88
export 'auth_user_record.dart';

0 commit comments

Comments
 (0)