diff --git a/CHANGELOG.md b/CHANGELOG.md index 4350746..f78fc28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.3.5 + +* Lints from dart_metrics version 4.21.2 +* Lints for Flutter 3.3.5 and Dart 2.18 + ## 0.3.4 * Lints from dart_metrics version 4.20.0 diff --git a/README.md b/README.md index b24dd87..6ccddfa 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ And we just looooove lots of lints. :blue_heart: We tested current configuration with this environment: ```yaml environment: - sdk: ">=2.17.0 <3.0.0" - flutter: ^3.3.4 + sdk: ">=2.18.0 <3.0.0" + flutter: ^3.3.5 ``` so it is required to update your flutter project to meet this conditions. @@ -43,7 +43,7 @@ dev_dependencies: or -you can copy content of [this file](lib/miquido_lints.yaml) to your `analysis_options.yaml`. In this approach remember that you need to depend on `dart_code_metrics: 4.20.0`, and you will need to add that package to your `pubspec.yaml` as well. Also you will need to visit this repository from time to time to check for changes! +you can copy content of [this file](lib/miquido_lints.yaml) to your `analysis_options.yaml`. In this approach remember that you need to depend on `dart_code_metrics: 4.21.2`, and you will need to add that package to your `pubspec.yaml` as well. Also you will need to visit this repository from time to time to check for changes! Also if you star this repo, that would be nice. diff --git a/lib/miquido_lints.yaml b/lib/miquido_lints.yaml index 8a550de..91cfc91 100644 --- a/lib/miquido_lints.yaml +++ b/lib/miquido_lints.yaml @@ -172,7 +172,7 @@ linter: - prefer_typing_uninitialized_variables - prefer_void_to_null - provide_deprecation_message - # - public_member_api_docs - Too much comments will be in code after enabling that, maybe useful in ultra large projects, sdks with lots of functionalites + # - public_member_api_docs - Too much comments will be in code after enabling that, maybe useful in ultra large projects, sdks with lots of functionalities - recursive_getters - require_trailing_commas - secure_pubspec_urls @@ -278,6 +278,7 @@ dart_code_metrics: - static-private-fields - fields - methods + - missing-test-assertion # - newline-before-return: - this is just stupid, especially when you have one-line methods # exclude: # - test/** diff --git a/pubspec.yaml b/pubspec.yaml index 640acc4..fcd60fb 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,14 +1,14 @@ name: miquido_flutter_lints description: Collection of Flutter lints that we use and follow in Miquido -version: 0.3.4 +version: 0.3.5 homepage: https://www.miquido.com environment: - sdk: ">=2.17.0 <3.0.0" - flutter: ^3.3.4 + sdk: ">=2.18.0 <3.0.0" + flutter: ">=3.3.5" dependencies: - dart_code_metrics: ^4.20.0 + dart_code_metrics: ^4.21.2 flutter: sdk: flutter