Releases: coolosos/coolint
Releases · coolosos/coolint
Release list
3.0.0-rc.1
BREAKING
- Minimum Dart SDK version bumped from
^3.8.0to^3.13.2. - Enabled strict mode in analyzer (
strict-casts: true,strict-inference: true,strict-raw-types: true). - Removed deprecated
coolint.yamlentrypoint in favor of explicitflutter.yamlordart.yaml.
Added
- New preset
package:coolint/flutter_package.yamlspecifically tailored for public Flutter UI packages and widget libraries (includesdiagnostic_describe_all_propertiesandpublic_member_api_docs). - 25 new lint rules:
async_return_with_no_await,avoid_bool_literals_in_conditional_expressions,avoid_multiple_declarations_per_line,avoid_type_to_string,avoid_types_on_closure_parameters,comment_references,diagnostic_describe_all_properties,empty_container_bodies,exhaustive_cases,initialize_in_field_declaration,literal_only_boolean_expressions,no_dynamic_casts,no_literal_bool_comparisons,null_closures,prefer_mixin,public_member_api_docs,simple_directive_paths,simplify_variable_pattern,unnecessary_breaks,unnecessary_const_in_enum_constructor,unnecessary_primary_constructor_body,unnecessary_type_name_in_constructor,use_declaring_parameters,use_named_constants,use_null_aware_elements,use_setters_to_change_properties. - Added default exclude patterns (
.github/**,build/**,**/.dart_tool/**) indart.yamland platform folders (android/**,ios/**) influtter.yaml.
Changed
- Reformatted all lint rules in
dart.yamlfrom list syntax to explicit map syntax (rule_name: true).
Removed
- Removed deprecated
lib/coolint.yaml(usepackage:coolint/flutter.yamlorpackage:coolint/dart.yaml). - Removed deprecated
dart_code_metricssection fromdart.yaml. - Removed deprecated lint rules:
avoid_private_typedef_functionsanduse_if_null_to_convert_nulls_to_bools.
2.1.3
2.1.2
What's Changed
Changed
- Disabled
avoid_catches_without_on_clausesandlines_longer_than_80_charsrules by commenting them out. - Removed
no-equal-then-elsefromdart_code_metricsrules.
Full Changelog: 2.1.1...2.1.2
2.1.1
2.1.0
2.0.1
What's Changed
- Bump flutter_lints from 4.0.0 to 5.0.0 by @dependabot in #6
- Update pubspec.yaml by @3d24rd0 in #7
Full Changelog: 2.0.0...2.0.1
2.0.0
What's Changed
- Bump flutter_lints from 3.0.2 to 4.0.0 by @dependabot in #4
Full Changelog: 1.0.3...2.0.0
1.0.3
What's Changed
- Bump flutter_lints from 3.0.1 to 3.0.2 by @dependabot in #3
New Contributors
- @dependabot made their first contribution in #3
Full Changelog: 1.0.2...1.0.3