- Add:
- Core: (Added together with Dart
3.3.4
)annotate_redeclares
unnecessary_library_name
missing_code_block_language_in_doc_comment
unintended_html_in_doc_comment
invalid_runtime_check_with_js_interop_types
document_ignores
- Core: (Added together with Dart
- Remove:
- Core: (Removed together with Dart
3.3.4
)iterable_contains_unrelated_type
list_remove_unrelated_type
always_require_non_null_named_parameters
avoid_returning_null
avoid_returning_null_for_future
- Core: (Removed together with Dart
- Add:
- Core: (Added together with Dart
3.1.0
)no_self_assignments
no_wildcard_variable_uses
- Core: (Added together with Dart
- Update licence bearer and links.
- Remove:
- Core:
avoid_equals_and_hash_code_on_mutable_classes
: Requires themeta
package, which not everybody wants to use.
- Core:
- Remove:
- Analysis:
strict-raw-types
: Generics end up looking extremely ugly whendynamic
is required, where simply omitting the type would work just fine.
- Analysis:
- Add:
- Core: (Added together with Dart
3.0.0
in linter version1.35.0
)implicit_reopen
unnecessary_breaks
type_literal_in_constant_pattern
invalid_case_patterns
- Core: (Missing)
unawaited_futures
- Core: (Added together with Dart
- Remove:
- Core: (Removed in linter version
1.35.0
)enable_null_safety
invariant_booleans
- Core: (Annoying)
avoid_catching_errors
(There are valid reasons to catchTypeError
, for example)directives_ordering
(Some people may arrange their imports differently)
- Core: (Removed in linter version
- Relicense package as
MIT
fromAGPL-3.0
.
- Fix wrong option being defined in
core.yaml
(strong-mode
instead oflanguage
).
- Added: (Added together with Dart
2.19.0
in linter version1.31.0
)- Core:
collection_methods_unrelated_type
combinators_ordering
dangling_library_doc_comments
enable_null_safety
implicit_call_tearoffs
library_annotations
unnecessary_library_directive
unreachable_from_main
use_string_in_part_of_directives
- Core:
- Added: (Added together with Dart
2.18.0
in linter version1.25.0
)- Core:
discarded_futures
unnecessary_null_aware_operator_on_extension_on_nullable
unnecessary_to_list_in_spreads
- Core:
- Added: (Added together with Dart
2.17.0
in linter version1.22.0
)- Core:
use_enums
use_super_parameters
- Flutter:
use_colored_box
- Core:
- Removed: (These were added in linter version
1.22.0
, which isn't yet featured in the stable Dart SDK channel)use_enums
use_super_parameters
- Added: (Added together with Dart
2.16.0
in linter version1.18.0
)- Core:
avoid_final_parameters
conditional_uri_does_not_exist
no_leading_underscores_for_library_prefixes
no_leading_underscores_for_local_identifiers
require_trailing_commas
unnecessary_late
secure_pubspec_urls
- Flutter:
sized_box_shrink_expand
use_decorated_box
- Core:
- Added:
use_enums
use_super_parameters
- Edited package description.
- Added:
eol_at_end_of_file
library_private_types_in_public_api
noop_primitive_operations
prefer_null_aware_method_calls
use_test_throws_matchers
depend_on_referenced_packages
- Removed:
constant_identifier_names
~ Enumerator values should be in PascalCase, and not in camelCase. Thus, theconstant_identifier_names
rule was tedious to work with and disable.
- Enabled stricter type checks through
analyzer
options.
- Added EXAMPLE.md.
- Initial release.