Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx committed Oct 10, 2024
1 parent 4892d6c commit 0806595
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
10 changes: 6 additions & 4 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ linter:
- avoid_init_to_null
- avoid_js_rounded_ints
- avoid_multiple_declarations_per_line
- avoid_null_checks_in_equality_operators
# - avoid_null_checks_in_equality_operators
- avoid_positional_boolean_parameters
- avoid_print
- avoid_private_typedef_functions
Expand Down Expand Up @@ -121,6 +121,7 @@ linter:
- implicit_call_tearoffs
- implicit_reopen
- invalid_case_patterns
- invalid_runtime_check_with_js_interop_types
- join_return_with_assignment
- leading_newlines_in_multiline_strings
- library_annotations
Expand Down Expand Up @@ -158,10 +159,10 @@ linter:
- prefer_asserts_with_message
- prefer_collection_literals
- prefer_conditional_assignment
- prefer_const_constructors
# - prefer_const_constructors
- prefer_const_constructors_in_immutables
- prefer_const_declarations
- prefer_const_literals_to_create_immutables
# - prefer_const_declarations
# - prefer_const_literals_to_create_immutables
- prefer_constructors_over_static_methods
- prefer_contains
# - prefer_double_quotes
Expand Down Expand Up @@ -221,6 +222,7 @@ linter:
- unnecessary_lambdas
- unnecessary_late
- unnecessary_library_directive
- unnecessary_library_name
- unnecessary_new
- unnecessary_null_aware_assignments
- unnecessary_null_aware_operator_on_extension_on_nullable
Expand Down
4 changes: 0 additions & 4 deletions lib/catcher_2.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/// Library for error catching which provides multiple handlers for dealing with
/// errors when they are not caught by the developer.
library catcher_2;

export 'package:catcher_2/core/catcher_2.dart';
export 'package:catcher_2/core/catcher_2_screenshot.dart';
export 'package:catcher_2/handlers/console_handler.dart';
Expand Down
3 changes: 0 additions & 3 deletions lib/core/catcher_2_screenshot_manager.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/// Sub-library of Catcher 2 providing a way to handle screenshots.
library screenshot;

import 'dart:async';
import 'dart:typed_data';
import 'dart:ui' as ui;
Expand Down

0 comments on commit 0806595

Please sign in to comment.