cosee_lints 0.2.0 cosee_lints: ^0.2.0 copied to clipboard
Lint rules and metrics for Dart and Flutter used internally at cosee GmbH.
0.2.0 #
- Upgrade to Dart 3
- Remove deprecated rules
- Remove malfunctioning rule
use_decorated_box
(#3286) - Add new package rules
- Add new core rules
collection_methods_unrelated_type
discarded_futures
hash_and_equals
implicit_reopen
invalid_case_patterns
always_put_required_named_parameters_first
avoid_catches_without_on_clauses
combinators_ordering
implicit_call_tearoffs
type_literal_in_constant_pattern
unnecessary_breaks
use_string_in_part_of_directives
- Update metrics
- Increase
cyclomatic-complexity
to 30 - Add
avoid-substring
- Add
prefer-define-hero-tag
- Increase
0.1.4 #
- Exclude integration_test folder for
prefer-static-class
- Exclude test and integration_test folder for
prefer-moving-to-variable
0.1.3 #
- Exclude test folder for
prefer-static-class
0.1.2 #
- Remove
avoid-wrapping-in-padding
0.1.1 #
-
Remove
prefer_mixin
-
Remove
avoid-non-null-assertion
-
Increase
cyclomatic-complexity
to 15 -
Increase
maximum-nesting-level
to 7 -
Increase
prefer-extracting-callbacks
allowed-line-count
to 5 -
Increase
prefer-moving-to-variable
allowed-duplicated-chains
to 3