Skip to content

Commit 43cc177

Browse files
committed
Fix formatting and suppress deprecation warnings
- Formatted all files with dart format - Added deprecated_member_use_from_same_package: ignore to analysis_options.yaml - This suppresses warnings for using deprecated classes within the package during deprecation period
1 parent 632f2a6 commit 43cc177

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

analysis_options.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ analyzer:
77
- example/**
88
- example_command_results/**
99
- counter_example/**
10+
errors:
11+
deprecated_member_use_from_same_package: ignore
1012

1113
linter:
1214
rules:

example/lib/verify_fixes.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'package:command_it/command_it.dart';
22

33
class Test {
44
final cmd = Command.createAsyncNoParamNoResult(() async {});
5-
5+
66
void test() {
77
cmd.execute();
88
cmd.executeWithFuture();

0 commit comments

Comments
 (0)