Skip to content

Commit

Permalink
Update flutter_lints
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx committed Oct 10, 2024
1 parent ec314bd commit 9409a8b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 13 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 @@ -113,6 +113,7 @@ linter:
- flutter_style_todos
- hash_and_equals
- implementation_imports
- invalid_runtime_check_with_js_interop_types
- join_return_with_assignment
- leading_newlines_in_multiline_strings
- library_names
Expand Down Expand Up @@ -145,10 +146,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 @@ -203,6 +204,7 @@ linter:
- unnecessary_getters_setters
- unnecessary_lambdas
- unnecessary_late
- unnecessary_library_name
- unnecessary_new
- unnecessary_null_aware_assignments
- unnecessary_null_checks
Expand Down
10 changes: 6 additions & 4 deletions flutter_web_auth_2/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
10 changes: 6 additions & 4 deletions flutter_web_auth_2_platform_interface/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
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ environment:
sdk: '>=2.15.0 <4.0.0'

dev_dependencies:
flutter_lints: ^4.0.0
flutter_lints: ^5.0.0
melos: ^6.0.0

0 comments on commit 9409a8b

Please sign in to comment.