mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 12:19:09 -04:00
BREAKING CHANGE: signature change for remote and repository callbacks during repository clone operation.
68 lines
2 KiB
YAML
68 lines
2 KiB
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
language:
|
|
strict-casts: true
|
|
strict-raw-types: true
|
|
|
|
exclude:
|
|
- lib/src/bindings/libgit2_bindings.dart
|
|
|
|
linter:
|
|
rules:
|
|
- always_use_package_imports
|
|
- avoid_bool_literals_in_conditional_expressions
|
|
- avoid_double_and_int_checks
|
|
- avoid_dynamic_calls
|
|
- avoid_equals_and_hash_code_on_mutable_classes
|
|
- avoid_escaping_inner_quotes
|
|
- avoid_field_initializers_in_const_classes
|
|
- avoid_js_rounded_ints
|
|
- avoid_positional_boolean_parameters
|
|
- avoid_print
|
|
- avoid_redundant_argument_values
|
|
- avoid_returning_this
|
|
- avoid_returning_null_for_future
|
|
- avoid_setters_without_getters
|
|
- avoid_slow_async_io
|
|
- avoid_type_to_string
|
|
- avoid_unused_constructor_parameters
|
|
- avoid_void_async
|
|
- cast_nullable_to_non_nullable
|
|
- deprecated_consistency
|
|
- directives_ordering
|
|
- eol_at_end_of_file
|
|
- join_return_with_assignment
|
|
- lines_longer_than_80_chars
|
|
- literal_only_boolean_expressions
|
|
- missing_whitespace_between_adjacent_strings
|
|
- no_default_cases
|
|
- noop_primitive_operations
|
|
- omit_local_variable_types
|
|
- parameter_assignments
|
|
- prefer_asserts_in_initializer_lists
|
|
- prefer_asserts_with_message
|
|
- prefer_const_constructors
|
|
- prefer_constructors_over_static_methods
|
|
- prefer_final_in_for_each
|
|
- prefer_final_locals
|
|
- prefer_if_elements_to_conditional_expressions
|
|
- prefer_int_literals
|
|
- prefer_null_aware_method_calls
|
|
- require_trailing_commas
|
|
- sort_constructors_first
|
|
- sort_pub_dependencies
|
|
- sort_unnamed_constructors_first
|
|
- tighten_type_of_initializing_formals
|
|
- type_annotate_public_apis
|
|
- unawaited_futures
|
|
- unnecessary_await_in_return
|
|
- unnecessary_parenthesis
|
|
- unnecessary_raw_strings
|
|
- use_is_even_rather_than_modulo
|
|
- use_late_for_private_fields_and_variables
|
|
- use_named_constants
|
|
- use_raw_strings
|
|
- use_setters_to_change_properties
|
|
- use_string_buffers
|
|
- use_super_parameters
|