diff --git a/CHANGELOG.md b/CHANGELOG.md index b51185c..16394fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 1.28.0 + +- Change minimum Dart version to ^3.5.0 🎯 +- Add `invalid_runtime_check_with_js_interop_types` +- Add `unintended_html_in_doc_comment` +- Remove duplicated lints + ## 1.27.0 - Change minimum Dart version to ^3.4.0 🎯 diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 903488a..ba3a8c4 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -3,7 +3,7 @@ description: A example of pedantic_mono. version: 1.0.0 publish_to: none environment: - sdk: ^3.3.0 + sdk: ^3.5.0 dependencies: flutter: diff --git a/lib/analysis_options.yaml b/lib/analysis_options.yaml index c90388d..1e25023 100644 --- a/lib/analysis_options.yaml +++ b/lib/analysis_options.yaml @@ -26,8 +26,6 @@ linter: - avoid_positional_boolean_parameters - avoid_private_typedef_functions - avoid_redundant_argument_values - # deprecated: https://dart-lang.github.io/linter/lints/avoid_returning_null_for_future.html - # - avoid_returning_null_for_future - avoid_returning_this - avoid_setters_without_getters - avoid_slow_async_io @@ -45,10 +43,12 @@ linter: # - discarded_futures # - do_not_use_environment # - enable_null_safety + # - document_ignores - eol_at_end_of_file - flutter_style_todos - implicit_reopen - invalid_case_patterns + - invalid_runtime_check_with_js_interop_types - join_return_with_assignment - lines_longer_than_80_chars - literal_only_boolean_expressions @@ -81,11 +81,11 @@ linter: - tighten_type_of_initializing_formals - type_annotate_public_apis - unawaited_futures + - unintended_html_in_doc_comment - unnecessary_await_in_return - unnecessary_breaks - unnecessary_lambdas - unnecessary_library_directive - - unnecessary_library_name - unnecessary_null_aware_operator_on_extension_on_nullable - unnecessary_null_checks - unnecessary_parenthesis diff --git a/pubspec.lock b/pubspec.lock index 36c5a34..c3eb442 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -37,10 +37,10 @@ packages: dependency: "direct main" description: name: flutter_lints - sha256: e2a421b7e59244faef694ba7b30562e489c2b489866e505074eb005cd7060db7 + sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "4.0.0" glob: dependency: transitive description: @@ -77,10 +77,10 @@ packages: dependency: transitive description: name: lints - sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290 + sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "4.0.0" meta: dependency: transitive description: @@ -146,4 +146,4 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.4.0 <4.0.0" + dart: ">=3.5.0 <4.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index f78ba20..fa2a3c6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,15 +1,15 @@ name: pedantic_mono description: '[mono edition] Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.' -version: 1.27.0 +version: 1.28.0 repository: https://github.com/mono0926/pedantic_mono funding: - https://github.com/sponsors/mono0926 environment: - sdk: ^3.4.0 + sdk: ^3.5.0 dependencies: - flutter_lints: ^3.0.0 + flutter_lints: ^4.0.0 dev_dependencies: grinder: