Releases: passsy/dart-lint
Releases · passsy/dart-lint
v2.3.0
v2.2.0
Requires Dart sdk: '>=3.1.0'
- Disable
unnecessary_await_in_return
due to false positives and almost no benefit - Enable
no_wildcard_variable_uses
- Enable
no_self_assignments
v2.1.2
Requires Dart sdk: '>=3.0.0'
- Remove
prefer_equal_for_default_values
- Enable
unnecessary_breaks
- Enable
invalid_case_patterns
- Enable
implicit_reopen
for package mode - Enable
type_literal_in_constant_pattern
- Include all rules from
v2.0.20
v2.0.20
Requires Dart sdk: '>=2.19.0'
- Enable
combinators_ordering
for strict - Enable
use_string_in_part_of_directives
- Enable
unreachable_from_main
for strict - Enable
dangling_library_doc_comments
for strict - Enable
collection_methods_unrelated_type
- Enable
implicit_call_tearoffs
- Enable
unnecessary_library_directive
- Enable
library_annotations
v2.1.0
v2.0.0
Requires Dart sdk: '>=2.18.0'
- New
package:lint/strict.yaml
- New
package:lint/casual.yaml
- New
package:lint/package.yaml
- Deprecate
package:lint/analysis_options.yaml
(usesstrict.yaml
) - Deprecate
package:lint/analysis_options_package.yaml
(usespackage.yaml
) - Disable
use_decorated_box
- Enable
unnecessary_null_aware_operator_on_extension_on_nullable
- Enable
unnecessary_to_list_in_spreads
v1.10.0
Requires Dart sdk: '>=2.17.0'
- Removal of
invariant_booleans
v1.9.0
Requires Dart sdk: '>=2.16.0 <3.0.0'
- Enable
unnecessary_late
- Remove strict pana rules from
analysis_options_package.yaml
lines_longer_than_80_chars
prefer_single_quotes
v1.8.2
pana lint rules have been relaxed. No need for those two rules in the package
version:
- Remove
lines_longer_than_80_chars
fromanalysis_options_package.yaml
- Remove
prefer_single_quotes
fromanalysis_options_package.yaml
v1.8.1
Requires Dart sdk: '>=2.15.0-7.0.dev <3.0.0'
- Enable
always_use_package_imports
- Enable
avoid_double_and_int_checks
- Enable
use_is_even_rather_than_modulo
parameter_assignments
is now a warning (was hint)missing_required_param
is now a error (was warning)missing_return
is now an error (was warning)- ignore any errors in auto-generated flutter file
lib/generated_plugin_registrant.dart
Package
- Enable
library_private_types_in_public_api
- Enable
lines_longer_than_80_chars
- Enable
prefer_single_quotes
Big thanks to @rydmike for comparing all popular lint packages, identifying missing rules for this lint