Skip to content

Commit

Permalink
Upgrade to lints 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renggli committed Oct 5, 2024
1 parent 6895371 commit 1e8bded
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
include: package:lints/recommended.yaml
analyzer:
language:
strict-inference: true
strict-casts: true
strict-inference: true
strict-raw-types: true
linter:
rules:
Expand All @@ -11,15 +11,12 @@ linter:
- avoid_final_parameters
- avoid_print
- avoid_unused_constructor_parameters
- camel_case_types
- collection_methods_unrelated_type
- combinators_ordering
- comment_references
- directives_ordering
- invalid_case_patterns
- missing_code_block_language_in_doc_comment
- no_self_assignments
- no_wildcard_variable_uses
- omit_local_variable_types
- prefer_const_constructors
- prefer_const_constructors_in_immutables
Expand All @@ -34,7 +31,6 @@ linter:
- unnecessary_await_in_return
- unnecessary_breaks
- unnecessary_lambdas
- unnecessary_library_name
- unnecessary_null_aware_operator_on_extension_on_nullable
- unnecessary_null_checks
- unnecessary_parenthesis
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ topics:
environment:
sdk: ^3.5.0
dependencies:
meta: ^1.15.0
meta: ^1.16.0
dev_dependencies:
lints: ^4.0.0
lints: ^5.0.0
test: ^1.25.0

0 comments on commit 1e8bded

Please sign in to comment.