Skip to content

Commit

Permalink
Rev package:lints
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Sep 30, 2024
1 parent f8bbdce commit 98f1259
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
21 changes: 12 additions & 9 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ analyzer:

linter:
rules:
- always_declare_return_types
- cancel_subscriptions
- close_sinks
- directives_ordering
- omit_local_variable_types
- prefer_final_locals
- prefer_single_quotes
- test_types_in_equals
- prefer_relative_imports
#true
always_declare_return_types: true
cancel_subscriptions: true
close_sinks: true
directives_ordering: true
omit_local_variable_types: true
prefer_final_locals: true
prefer_single_quotes: true
test_types_in_equals: true
prefer_relative_imports: true
#false
unintended_html_in_doc_comment: false
2 changes: 1 addition & 1 deletion lib/service_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/// Exports the minimum api to define server and client stubs.
///
/// Mainly intended to be imported by generated code.
library service_api;
library;

export 'src/client/call.dart' show CallOptions, MetadataProvider;
export 'src/client/channel.dart' show ClientChannel;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies:
dev_dependencies:
build_runner: ^2.0.0
build_test: ^2.0.0
lints: ^4.0.0
lints: ^5.0.0
mockito: ^5.0.0
path: ^1.8.0
test: ^1.16.0
Expand Down

0 comments on commit 98f1259

Please sign in to comment.