Skip to content

Commit eccc7d8

Browse files
authored
Update package:lints and clean up library declarations (#2436)
1 parent 9ada46f commit eccc7d8

File tree

105 files changed

+142
-28
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+142
-28
lines changed

analysis_options.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ analyzer:
1010
linter:
1111
rules:
1212
- always_declare_return_types
13-
- always_require_non_null_named_parameters
1413
- annotate_overrides
1514
- avoid_classes_with_only_static_members
1615
- avoid_empty_else
@@ -20,7 +19,6 @@ linter:
2019
- avoid_relative_lib_imports
2120
- avoid_renaming_method_parameters
2221
- avoid_return_types_on_setters
23-
- avoid_returning_null
2422
- avoid_returning_null_for_void
2523
- avoid_returning_this
2624
- avoid_shadowing_type_parameters
@@ -63,7 +61,6 @@ linter:
6361
- prefer_conditional_assignment
6462
- prefer_const_constructors
6563
- prefer_contains
66-
- prefer_equal_for_default_values
6764
- prefer_final_fields
6865
- prefer_for_elements_to_map_fromIterable
6966
- prefer_function_declarations_over_variables

dwds/debug_extension/web/background.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@JS()
6-
library background;
6+
library;
77

88
import 'package:dwds/data/debug_info.dart';
99
import 'package:js/js.dart';

dwds/debug_extension/web/cider_connection.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@JS()
6-
library cider_connection;
6+
library;
77

88
import 'dart:convert';
99
import 'dart:js_util';

dwds/debug_extension/web/copier.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@JS()
6-
library copier;
6+
library;
77

88
import 'dart:html';
99

dwds/debug_extension/web/cross_extension_communication.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@JS()
6-
library cross_extension_communication;
6+
library;
77

88
import 'package:js/js.dart';
99

dwds/debug_extension/web/debug_info.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@JS()
6-
library debug_info;
6+
library;
77

88
import 'dart:convert';
99
import 'dart:html';

dwds/debug_extension/web/debug_session.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@JS()
6-
library debug_session;
6+
library;
77

88
import 'dart:async';
99
import 'dart:convert';

dwds/debug_extension/web/detector.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@JS()
6-
library detector;
6+
library;
77

88
import 'dart:convert';
99
import 'dart:html';

dwds/debug_extension/web/devtools.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@JS()
6-
library devtools;
6+
library;
77

88
import 'dart:html';
99

dwds/debug_extension/web/logger.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@JS()
6-
library logger;
6+
library;
77

88
import 'package:js/js.dart';
99

0 commit comments

Comments
 (0)