File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed
Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ### Changed
11+
12+ - update linting rules —
13+ [ 162] ( https://github.com/dartoos-dev/json_cache/issues/154 ) .
14+
15+
1016## [ 3.0.2] - 2024-08-19
1117
1218### Changed
Original file line number Diff line number Diff line change 11include : package:lint/package.yaml
22
33analyzer :
4- strong-mode :
5- implicit-casts : false
6-
4+ exclude :
5+ - ' **.freezed.dart '
6+ - ' **.g.dart '
77linter :
88 rules :
99 # Make constructors the first thing in every class
10+ sort_unnamed_constructors_first : true
1011 sort_constructors_first : true
12+ avoid_catches_without_on_clauses : true
13+ avoid_equals_and_hash_code_on_mutable_classes : true
14+ cancel_subscriptions : true
1115 # Good packages document everything
1216 public_member_api_docs : true
13- always_declare_return_types : true
14- cancel_subscriptions : true
15- close_sinks : true
16- only_throw_errors : true
17- package_api_docs : true
17+ package_api_docs : true
Original file line number Diff line number Diff line change @@ -22,6 +22,6 @@ dev_dependencies:
2222 flutter_test :
2323 sdk : flutter
2424 hive_test : ^1.0.1
25- lint : ^2.0.1
25+ lint : ^2.3.0
2626 mocktail : ^1.0.0
2727 test : ^1.24.9
You can’t perform that action at this time.
0 commit comments