words 0.5.0
words: ^0.5.0 copied to clipboard
A curated collection of lints for use by Dart packages to ensure higher program safety and to promote best practices.
0.5.0 #
- Add:
- Core: (Added together with Dart
3.3.4)annotate_redeclaresunnecessary_library_namemissing_code_block_language_in_doc_commentunintended_html_in_doc_commentinvalid_runtime_check_with_js_interop_typesdocument_ignores
- Core: (Added together with Dart
- Remove:
- Core: (Removed together with Dart
3.3.4)iterable_contains_unrelated_typelist_remove_unrelated_typealways_require_non_null_named_parametersavoid_returning_nullavoid_returning_null_for_future
- Core: (Removed together with Dart
0.4.4 #
- Add:
- Core: (Added together with Dart
3.1.0)no_self_assignmentsno_wildcard_variable_uses
- Core: (Added together with Dart
0.4.3 #
- Update licence bearer and links.
0.4.2 #
- Remove:
- Core:
avoid_equals_and_hash_code_on_mutable_classes: Requires themetapackage, which not everybody wants to use.
- Core:
0.4.1 #
- Remove:
- Analysis:
strict-raw-types: Generics end up looking extremely ugly whendynamicis required, where simply omitting the type would work just fine.
- Analysis:
0.4.0 #
- Add:
- Core: (Added together with Dart
3.0.0in linter version1.35.0)implicit_reopenunnecessary_breakstype_literal_in_constant_patterninvalid_case_patterns
- Core: (Missing)
unawaited_futures
- Core: (Added together with Dart
- Remove:
- Core: (Removed in linter version
1.35.0)enable_null_safetyinvariant_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
0.3.2 #
- Relicense package as
MITfromAGPL-3.0.
0.3.1 #
- Fix wrong option being defined in
core.yaml(strong-modeinstead oflanguage).
0.3.0 #
- Added: (Added together with Dart
2.19.0in linter version1.31.0)- Core:
collection_methods_unrelated_typecombinators_orderingdangling_library_doc_commentsenable_null_safetyimplicit_call_tearoffslibrary_annotationsunnecessary_library_directiveunreachable_from_mainuse_string_in_part_of_directives
- Core:
0.2.0 #
- Added: (Added together with Dart
2.18.0in linter version1.25.0)- Core:
discarded_futuresunnecessary_null_aware_operator_on_extension_on_nullableunnecessary_to_list_in_spreads
- Core:
0.1.1 #
- Added: (Added together with Dart
2.17.0in linter version1.22.0)- Core:
use_enumsuse_super_parameters
- Flutter:
use_colored_box
- Core:
0.1.0+1 #
- Removed: (These were added in linter version
1.22.0, which isn't yet featured in the stable Dart SDK channel)use_enumsuse_super_parameters
0.1.0 #
- Added: (Added together with Dart
2.16.0in linter version1.18.0)- Core:
avoid_final_parametersconditional_uri_does_not_existno_leading_underscores_for_library_prefixesno_leading_underscores_for_local_identifiersrequire_trailing_commasunnecessary_latesecure_pubspec_urls
- Flutter:
sized_box_shrink_expanduse_decorated_box
- Core:
0.0.2+2 #
- Added:
use_enumsuse_super_parameters
0.0.2+1 #
- Edited package description.
0.0.2 #
- Added:
eol_at_end_of_filelibrary_private_types_in_public_apinoop_primitive_operationsprefer_null_aware_method_callsuse_test_throws_matchersdepend_on_referenced_packages
- Removed:
constant_identifier_names~ Enumerator values should be in PascalCase, and not in camelCase. Thus, theconstant_identifier_namesrule was tedious to work with and disable.
0.0.1+2 #
- Enabled stricter type checks through
analyzeroptions.
0.0.1+1 #
- Added EXAMPLE.md.
0.0.1 #
- Initial release.