Skip to content

Commit

Permalink
Add new lints for flutter 3.3.5 and metrics 4.21.2 (#7)
Browse files Browse the repository at this point in the history
* new release

* prepare to release
  • Loading branch information
paulkastel authored Oct 26, 2022
1 parent cadb438 commit 39f203e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.

Expand Down
3 changes: 2 additions & 1 deletion lib/miquido_lints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/**
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 39f203e

Please sign in to comment.